mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
python changes for latebound schema manipulation from python
This commit is contained in:
@@ -73,6 +73,10 @@ def create_entity(type, *args, **kwargs):
|
||||
for idx, arg in attrs:
|
||||
e[idx] = arg
|
||||
return e
|
||||
|
||||
|
||||
gcroot = []
|
||||
def register_schema(schema):
|
||||
gcroot.append(schema)
|
||||
ifcopenshell_wrapper.register_schema(schema.schema)
|
||||
|
||||
from .main import *
|
||||
|
||||
Reference in New Issue
Block a user