Fix Ifc Spatial Element Default Composition Type should be 'Element'

This commit is contained in:
hoshengwei
2024-10-31 22:49:41 +08:00
committed by Yorik van Havre
parent b9d7cd23a9
commit 25b4e319eb
3 changed files with 7 additions and 0 deletions

View File

@@ -503,6 +503,8 @@ class _Site(ArchIFC.IfcProduct):
obj.Proxy = self
self.setProperties(obj)
obj.IfcType = "Site"
obj.CompositionType = "ELEMENT"
def setProperties(self,obj):
"""Gives the object properties unique to sites.