mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
Fix #6000
This commit is contained in:
@@ -364,7 +364,7 @@ class AddElement(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
def _execute(self, context):
|
def _execute(self, context):
|
||||||
props = context.scene.BIMRootProperties
|
props = context.scene.BIMRootProperties
|
||||||
predefined_type = (
|
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
|
representation_template = props.representation_template
|
||||||
ifc_file = tool.Ifc.get()
|
ifc_file = tool.Ifc.get()
|
||||||
|
|||||||
Reference in New Issue
Block a user