mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +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 = {}
|
||||
|
||||
|
||||
@@ -156,7 +156,8 @@ filename_filters = {
|
||||
'IfcMaterialDefinition_IFC4.json': ['IfcMaterialDefinition'],
|
||||
'IfcParameterizedProfileDef_IFC4.json': ['IfcParameterizedProfileDef'],
|
||||
'IfcBoundaryCondition_IFC4.json': ['IfcBoundaryCondition'],
|
||||
'IfcElementType_IFC4.json': ['IfcElementType']
|
||||
'IfcElementType_IFC4.json': ['IfcElementType'],
|
||||
'IfcAnnotation_IFC4.json': ['IfcAnnotation']
|
||||
}
|
||||
|
||||
for filename, filters in filename_filters.items():
|
||||
|
||||
Reference in New Issue
Block a user