design_set_units
Change the distance units Fusion displays and uses for unitless expressions in the active design. Numeric tool inputs stay in millimeters regardless of the chosen display unit.
Instructions
Change the distance units Fusion displays and uses for unitless expressions in the active design. Numbers passed to tools are NOT affected: they stay in mm (e.g. a length of 25 is still 25 mm after design_set_units("in")).
Returns the settings (see design_get_settings).
Example: design_set_units(units="in").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | Distance display units |