Add a way to load a custom IFC Schema and add util methods

This commit is contained in:
Roch Bertucat
2020-12-10 10:37:17 +01:00
parent cada9c9e3b
commit 479b937f81
2 changed files with 26 additions and 0 deletions
@@ -2,6 +2,13 @@ from behave import step
from utils import IfcFile
@step('The IFC schema "{schema}" must be provided')
def step_impl(context, schema):
try:
IfcFile.load_schema(schema)
except:
assert False
@step('The IFC file "{file}" must be provided')
def step_impl(context, file):