mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Don't show IFC product selection in the type manager since it's assumed to be IfcElementType from context
This commit is contained in:
@@ -568,7 +568,8 @@ class AddElement(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
row = self.layout.row()
|
row = self.layout.row()
|
||||||
row.prop(props, "description")
|
row.prop(props, "description")
|
||||||
if not self.is_specific_tool:
|
if not self.is_specific_tool:
|
||||||
prop_with_search(self.layout, props, "ifc_product", text="Definition", should_click_ok=True)
|
if not self.ifc_product:
|
||||||
|
prop_with_search(self.layout, props, "ifc_product", text="Definition", should_click_ok=True)
|
||||||
prop_with_search(self.layout, props, "ifc_class", should_click_ok=True)
|
prop_with_search(self.layout, props, "ifc_class", should_click_ok=True)
|
||||||
ifc_predefined_types = root_prop.get_ifc_predefined_types(context.scene.BIMRootProperties, context)
|
ifc_predefined_types = root_prop.get_ifc_predefined_types(context.scene.BIMRootProperties, context)
|
||||||
if ifc_predefined_types:
|
if ifc_predefined_types:
|
||||||
|
|||||||
Reference in New Issue
Block a user