* added 3"=1'-0" scale (a common scale), and corrected 6"=1'-0" scale

* relocate remove drawing button per
https://community.osarch.org/discussion/comment/12744/#Comment_12744
This commit is contained in:
Ryan Schultz
2022-09-27 10:54:11 -05:00
committed by GitHub
parent 2f84c188f5
commit f63a33647b
@@ -170,13 +170,16 @@ class BIM_PT_drawings(Panel):
if self.props.active_drawing_index < len(self.props.drawings):
active_drawing = self.props.drawings[self.props.active_drawing_index]
row = self.layout.row(align=True)
row.alignment = "RIGHT"
col = row.column()
col.alignment = 'LEFT'
col.operator("bim.remove_drawing", icon="X", text="").drawing = active_drawing.ifc_definition_id
col = row.column()
col.alignment = 'RIGHT'
op = row.operator("bim.open_view", icon="URL", text="")
op.view = active_drawing.name
op = row.operator("bim.activate_view", icon="OUTLINER_OB_CAMERA", text="")
op.drawing = active_drawing.ifc_definition_id
row.operator("bim.create_drawing", text="", icon="OUTPUT")
row.operator("bim.remove_drawing", icon="X", text="").drawing = active_drawing.ifc_definition_id
self.layout.template_list(
"BIM_UL_drawinglist", "", self.props, "drawings", self.props, "active_drawing_index"
)