mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Drawings can now be associated with an IFC geometric subcontext target view
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user