Validating IFCs UI now moved over into debug panel

This commit is contained in:
Dion Moult
2021-02-04 21:59:08 +11:00
parent e14a3a99c0
commit 384d007770
3 changed files with 7 additions and 4 deletions
@@ -13,8 +13,12 @@ class BIM_PT_debug(Panel):
def draw(self, context):
layout = self.layout
scene = context.scene
props = scene.BIMDebugProperties
props = context.scene.BIMDebugProperties
row = self.layout.row(align=True)
row.prop(context.scene.BIMProperties, "ifc_file", text="")
row.operator("bim.validate_ifc_file", icon="CHECKMARK", text="")
row.operator("bim.select_ifc_file", icon="FILE_FOLDER", text="")
row = layout.row()
row.operator("bim.profile_import_ifc")
@@ -7,7 +7,7 @@ class Data:
@classmethod
def purge(cls):
cls.products = False
cls.products = {}
cls.representations = {}
@classmethod
@@ -37,7 +37,6 @@ class BIM_PT_project(Panel):
row = self.layout.row(align=True)
row.prop(props, "ifc_file", text="")
row.operator("bim.reload_ifc_file", icon="FILE_REFRESH", text="")
row.operator("bim.validate_ifc_file", icon="CHECKMARK", text="")
row.operator("bim.select_ifc_file", icon="FILE_FOLDER", text="")
row = self.layout.row(align=True)