Allow you to select person and organisation when exporting owner history metadata

This commit is contained in:
Dion Moult
2020-01-03 15:53:57 +11:00
parent d6b9810b94
commit 403cda5bc8
6 changed files with 126 additions and 34 deletions
+21
View File
@@ -206,6 +206,27 @@ class BIM_PT_documentation(Panel):
row = layout.row()
row.operator('bim.generate_digital_twin')
class BIM_PT_owner(Panel):
bl_label = "Owner History"
bl_idname = "BIM_PT_owner"
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
props = scene.BIMProperties
row = layout.row()
row.prop(props, 'person')
row = layout.row()
row.prop(props, 'organisation')
class BIM_PT_context(Panel):
bl_label = "Geometric Representation Contexts"
bl_idname = "BIM_PT_context"