This commit is contained in:
Andrej730
2025-01-20 16:15:39 +05:00
parent ecf0d255f7
commit 0a266bba5d
@@ -364,7 +364,7 @@ class AddElement(bpy.types.Operator, tool.Ifc.Operator):
def _execute(self, context):
props = context.scene.BIMRootProperties
predefined_type = (
props.userdefined_type if props.ifc_predefined_type == "USERDEFINED" else props.ifc_predefined_type
props.ifc_userdefined_type if props.ifc_predefined_type == "USERDEFINED" else props.ifc_predefined_type
)
representation_template = props.representation_template
ifc_file = tool.Ifc.get()