mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 21:38:12 +00:00
Add support for rounding metric and imperial units in drawings
This commit is contained in:
@@ -2108,3 +2108,8 @@ def ifc_units(self, context):
|
||||
row.prop(props, 'area_unit')
|
||||
row = layout.row()
|
||||
row.prop(props, 'volume_unit')
|
||||
row = layout.row()
|
||||
if bpy.context.scene.unit_settings.system == 'IMPERIAL':
|
||||
row.prop(props, 'imperial_precision')
|
||||
else:
|
||||
row.prop(props, 'metric_precision')
|
||||
|
||||
Reference in New Issue
Block a user