Work on python wrapper

This commit is contained in:
Thomas Krijnen
2017-12-31 12:20:13 +01:00
parent 05e6f56911
commit e2f79ec1ba
12 changed files with 94 additions and 72 deletions
@@ -59,8 +59,8 @@ from .file import file
from .entity_instance import entity_instance
def open(fn=None):
return file(ifcopenshell_wrapper.open(os.path.abspath(fn))) if fn else file()
def open(fn):
return file(ifcopenshell_wrapper.open(os.path.abspath(fn)))
def create_entity(type, *args, **kwargs):