mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 07:22:38 +00:00
Add ability to export parameterised profiles for material profiles.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user