mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Add a way to load a custom IFC Schema and add util methods
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user