Click or drag to resize

RhinoDocGetCustomUnitSystem Method

Get the custom unit system name and custom unit scale.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.9
Syntax
public bool GetCustomUnitSystem(
	bool modelUnits,
	out string customUnitName,
	out double metersPerCustomUnit
)

Parameters

modelUnits
Type: SystemBoolean
Set true to get values from the document's model unit system. Set false to get values from the document's page unit system.
customUnitName
Type: SystemString
The custom unit system name.
metersPerCustomUnit
Type: SystemDouble
The meters per custom unit scale.

Return Value

Type: Boolean
true if successful, false otherwise.
See Also