New UI to add structural boundary condition data. See #756.

This commit is contained in:
Dion Moult
2020-01-19 18:41:57 +11:00
parent a34588179d
commit f50722c4bc
5 changed files with 295 additions and 1 deletions
+13
View File
@@ -97,6 +97,19 @@ class BIM_PT_object(Panel):
row = layout.row()
row.prop(props, 'material_type')
layout.label(text='Structural Boundary Condition:')
row = layout.row()
row.prop(props, 'has_boundary_condition')
if bpy.context.active_object.BIMObjectProperties.has_boundary_condition:
row = layout.row()
row.prop(props.boundary_condition, 'name')
for index, attribute in enumerate(props.boundary_condition.attributes):
row = layout.row(align=True)
row.prop(attribute, 'name', text='')
row.prop(attribute, 'string_value', text='')
class BIM_PT_mesh(Panel):
bl_label = 'IFC Representations'