Description:
Changes the unit system to custom units and sets the custom unit scale.
Syntax:
public Boolean SetCustomUnitSystem(
Boolean modelUnits,
String customUnitName,
Double metersPerCustomUnit,
Boolean scale
)
Boolean modelUnits,
String customUnitName,
Double metersPerCustomUnit,
Boolean scale
)
Parameters:
- modelUnits
- Type: System.Boolean
- Set True to set values from the document's model unit system. Set False to set values from the document's page unit system.
- customUnitName
- Type: System.String
- The custom unit system name.
- metersPerCustomUnit
- Type: System.Double
- The meters per custom unit scale.
- scale
- Type: System.Boolean
- Set True to scale existing objects.
Returns:
Type: Boolean
True if successful, False otherwise.
Available since:
7.9