mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 09:32:46 +00:00
Partial implementation of project library information
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user