Drawings can now be associated with an IFC geometric subcontext target view

This commit is contained in:
Dion Moult
2020-08-29 18:55:38 +10:00
parent bc2ce0ee62
commit 2f4c96b9dc
2 changed files with 10 additions and 0 deletions
@@ -541,6 +541,13 @@ class DocProperties(PropertyGroup):
class BIMCameraProperties(PropertyGroup):
view_name: StringProperty(name="View Name")
target_view: EnumProperty(items=[
('PLAN_VIEW', 'PLAN_VIEW', ''),
('ELEVATION_VIEW', 'ELEVATION_VIEW', ''),
('SECTION_VIEW', 'SECTION_VIEW', ''),
('REFLECTED_PLAN_VIEW', 'REFLECTED_PLAN_VIEW', ''),
('MODEL_VIEW', 'MODEL_VIEW', ''),
], name='Target View', default='PLAN_VIEW')
diagram_scale: EnumProperty(items=getDiagramScales, name='Drawing Scale')
custom_diagram_scale: StringProperty(name='Custom Scale')
raster_x: IntProperty(name='Raster X', default=1000)
@@ -868,6 +868,9 @@ class BIM_PT_camera(Panel):
row = layout.row()
row.operator('bim.resize_text')
row = layout.row()
row.prop(props, 'target_view')
row = layout.row()
row.prop(props, 'cut_objects')
if props.cut_objects == 'CUSTOM':