Add ability to export parameterised profiles for material profiles.

This commit is contained in:
Dion Moult
2020-01-14 17:38:54 +11:00
parent 8490dc7841
commit 71f836d013
6 changed files with 916 additions and 9 deletions
+10
View File
@@ -191,6 +191,16 @@ class BIM_PT_material(Panel):
row = layout.row()
row.prop(props, 'psets', text='')
if context.active_object.BIMObjectProperties.material_type == 'IfcMaterialProfileSet':
layout.label(text="Profile Definition:")
row = layout.row()
row.prop(props, 'profile_def')
for index, attribute in enumerate(props.profile_attributes):
row = layout.row(align=True)
row.prop(attribute, 'name', text='')
row.prop(attribute, 'string_value', text='')
class BIM_PT_gis(Panel):
bl_label = 'IFC Georeferencing'