WIP refactor root module properties. See #1222.

This commit is contained in:
Dion Moult
2021-01-23 12:54:27 +11:00
parent d1e2ac4c5a
commit 86e3d1e548
8 changed files with 138 additions and 111 deletions
@@ -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()