mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
WIP refactor root module properties. See #1222.
This commit is contained in:
@@ -41,12 +41,12 @@ class BIM_PT_class(Panel):
|
||||
row = self.layout.row(align=True)
|
||||
op = row.operator("bim.assign_class")
|
||||
op.obj = context.active_object.name
|
||||
op.ifc_class = bpy.context.scene.BIMProperties.ifc_class
|
||||
op.predefined_type = bpy.context.scene.BIMProperties.ifc_predefined_type
|
||||
op.userdefined_type = bpy.context.scene.BIMProperties.ifc_userdefined_type
|
||||
op.ifc_class = bpy.context.scene.BIMRootProperties.ifc_class
|
||||
op.predefined_type = bpy.context.scene.BIMRootProperties.ifc_predefined_type
|
||||
op.userdefined_type = bpy.context.scene.BIMRootProperties.ifc_userdefined_type
|
||||
|
||||
def draw_class_dropdowns(self):
|
||||
props = bpy.context.scene.BIMProperties
|
||||
props = bpy.context.scene.BIMRootProperties
|
||||
row = self.layout.row()
|
||||
row.prop(props, "ifc_product")
|
||||
row = self.layout.row()
|
||||
|
||||
Reference in New Issue
Block a user