Files
IfcOpenShell/src/ifcopenshell-python/ifcopenshell/api/owner/settings.py
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
292 B
Python
Raw Normal View History

# Note: it is the intent for you to override these with your own functions
def get_application(ifc):
2021-07-04 09:54:49 +10:00
applications = ifc.by_type("IfcApplication") or [None]
return applications[0]
def get_user(ifc):
users = ifc.by_type("IfcPersonAndOrganization") or [None]
return users[0]