Description:

Changes the unit system to custom units and sets the custom unit scale.

Syntax:
public bool SetCustomUnitSystem(
bool modelUnits,
string customUnitName,
double metersPerCustomUnit,
bool scale
)
Parameters:
  • modelUnits
  • Type: bool
  • 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: string
  • The custom unit system name.
  • metersPerCustomUnit
  • Type: double
  • The meters per custom unit scale.
  • scale
  • Type: bool
  • Set True to scale existing objects.
Returns:
Type: bool
True if successful, False otherwise.
Available since:
7.9

/
/
/
SetCustomUnitSystem

SetCustomUnitSystem method

Class:  Rhino.RhinoDoc

Nothing found