From 553334d50e0ba9d0c716188d300c45fa73913524 Mon Sep 17 00:00:00 2001 From: ay-ex <127405908+ay-ex@users.noreply.github.com> Date: Fri, 17 Mar 2023 08:04:56 +0000 Subject: [PATCH] add imports to snippet added imports and syntax highlighting so it is easier to run for newcomers --- src/ifctester/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ifctester/README.md b/src/ifctester/README.md index a1f76f098e..336f9d8853 100644 --- a/src/ifctester/README.md +++ b/src/ifctester/README.md @@ -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() -``` \ No newline at end of file +```