Partial implementation of project library information

This commit is contained in:
Dion Moult
2019-11-21 07:09:08 +11:00
parent de64e3afc3
commit 9a18198988
5 changed files with 70 additions and 1 deletions
+23
View File
@@ -299,6 +299,29 @@ class BIM_PT_qa(Panel):
row = layout.row()
row.operator("bim.select_audited")
class BIM_PT_library(Panel):
bl_label = "BIM Server Library"
bl_idname = "BIM_PT_library"
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = "scene"
def draw(self, context):
layout = self.layout
layout.use_property_split = True
scene = context.scene
bim_properties = scene.BIMProperties
layout.row().prop(scene.BIMProperties, 'has_georeferencing')
layout.label(text="Project Library:")
layout.row().prop(scene.BIMLibrary, 'location')
layout.row().operator("bim.fetch_library_information")
layout.row().prop(scene.BIMLibrary, 'name')
layout.row().prop(scene.BIMLibrary, 'version')
layout.row().prop(scene.BIMLibrary, 'version_date')
layout.row().prop(scene.BIMLibrary, 'description')
class BIM_PT_diff(Panel):
bl_label = "IFC Diff"