mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 02:49:12 +00:00
add imports to snippet
added imports and syntax highlighting so it is easier to run for newcomers
This commit is contained in:
@@ -4,7 +4,11 @@ With **IfcTester**, you can author and read **Information Delivery Specification
|
||||
|
||||
## How to use it
|
||||
|
||||
```
|
||||
```python
|
||||
import ifcopenshell
|
||||
from ifctester import ids, reporter
|
||||
|
||||
|
||||
# create new IDS
|
||||
my_ids = ids.Ids(title="My IDS")
|
||||
|
||||
@@ -32,4 +36,4 @@ my_ids.validate(my_ifc)
|
||||
|
||||
# show results:
|
||||
reporter.Console(my_ids).report()
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user