You can now store arbitrary IFC data in the SVG, depending on the drawing style

This commit is contained in:
Dion Moult
2020-09-02 21:51:58 +10:00
parent 9c8f8ba56f
commit dbbc56ef0d
6 changed files with 101 additions and 12 deletions
@@ -918,6 +918,14 @@ class BIM_PT_camera(Panel):
row = layout.row(align=True)
row.prop(drawing_style, 'exclude_query')
row = layout.row()
row.operator('bim.add_drawing_style_attribute')
for index, attribute in enumerate(drawing_style.attributes):
row = layout.row(align=True)
row.prop(attribute, 'name', text='')
row.operator('bim.remove_drawing_style_attribute', icon='X', text='').index = index
row = layout.row(align=True)
row.operator('bim.save_drawing_style')
row.operator('bim.activate_drawing_style')