mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +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.prop(props, "description")
|
||||
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)
|
||||
ifc_predefined_types = root_prop.get_ifc_predefined_types(context.scene.BIMRootProperties, context)
|
||||
if ifc_predefined_types:
|
||||
|
||||
Reference in New Issue
Block a user