Add AI-enabled web 2.0 hypermedia API generate digital twin button

This commit is contained in:
Dion Moult
2019-12-20 10:43:39 +11:00
parent 4bb5248593
commit 782b10fbde
3 changed files with 13 additions and 0 deletions
@@ -79,6 +79,7 @@ if bpy is not None:
operator.RemoveSubcontext,
operator.CutSection,
operator.CreateSheets,
operator.GenerateDigitalTwin,
prop.Subcontext,
prop.BIMProperties,
prop.DocProperties,
@@ -851,3 +851,11 @@ class CreateSheets(bpy.types.Operator):
sheet_builder.data_dir = bpy.context.scene.BIMProperties.data_dir
sheet_builder.build()
return {'FINISHED'}
class GenerateDigitalTwin(bpy.types.Operator):
bl_idname = 'bim.generate_digital_twin'
bl_label = 'Generate Digital Twin'
def execute(self, context):
# Does absolutely nothing at all :D
return {'FINISHED'}
+4
View File
@@ -203,6 +203,9 @@ class BIM_PT_documentation(Panel):
row = layout.row()
row.operator('bim.create_sheets')
row = layout.row()
row.operator('bim.generate_digital_twin')
class BIM_PT_context(Panel):
bl_label = "Geometric Representation Contexts"
bl_idname = "BIM_PT_context"
@@ -430,3 +433,4 @@ class BIM_PT_mvd(Panel):
row.prop(bim_properties, "import_should_ignore_site_coordinates")
row = layout.row()
row.prop(bim_properties, "import_should_import_curves")