mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 13:28:19 +00:00
Add support for IfcAnnotation elements
This commit is contained in:
@@ -124,8 +124,14 @@ def refreshBoundaryConditionAttributes(self, context):
|
||||
def getIfcProducts(self, context):
|
||||
global products_enum
|
||||
if len(products_enum) < 1:
|
||||
products_enum.extend([(e, e, '') for e in
|
||||
['IfcElement', 'IfcElementType', 'IfcSpatialElement', 'IfcGroup', 'IfcStructural', 'IfcContext']])
|
||||
products_enum.extend([(e, e, '') for e in [
|
||||
'IfcElement',
|
||||
'IfcElementType',
|
||||
'IfcSpatialElement',
|
||||
'IfcGroup',
|
||||
'IfcStructural',
|
||||
'IfcContext',
|
||||
'IfcAnnotation']])
|
||||
return products_enum
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,8 @@ class IfcSchema():
|
||||
'IfcMaterialDefinition',
|
||||
'IfcParameterizedProfileDef',
|
||||
'IfcBoundaryCondition',
|
||||
'IfcElementType'
|
||||
'IfcElementType',
|
||||
'IfcAnnotation'
|
||||
]
|
||||
self.elements = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user