mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 10:32:42 +00:00
Added profiles of more specialised profile subtypes are now supported.
This commit is contained in:
@@ -49,6 +49,11 @@ def getParameterizedProfileClasses(self, context):
|
|||||||
(t.name(), t.name(), "")
|
(t.name(), t.name(), "")
|
||||||
for t in IfcStore.get_schema().declaration_by_name("IfcParameterizedProfileDef").subtypes()
|
for t in IfcStore.get_schema().declaration_by_name("IfcParameterizedProfileDef").subtypes()
|
||||||
]
|
]
|
||||||
|
for ifc_class in parameterizedprofileclasses_enum:
|
||||||
|
parameterizedprofileclasses_enum.extend([
|
||||||
|
(t.name(), t.name(), "")
|
||||||
|
for t in IfcStore.get_schema().declaration_by_name(ifc_class[0]).subtypes() or []
|
||||||
|
])
|
||||||
return parameterizedprofileclasses_enum
|
return parameterizedprofileclasses_enum
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user