WIP finish refactoring owner module props. See #1222.

This commit is contained in:
Dion Moult
2021-01-20 10:44:43 +11:00
parent 70a45be904
commit 1d8a568a0b
6 changed files with 157 additions and 48 deletions
@@ -14,6 +14,9 @@ class Data:
if not file:
return
cls.people = {}
cls.organisations = {}
cls.addresses = {}
cls.roles = {}
for person in file.by_type("IfcPerson"):
data = person.get_info()
data["is_engaged"] = bool(person.EngagedIn)