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
)
Public Function GetCustomUnitSystem (
modelUnits As Boolean,
<OutAttribute> ByRef customUnitName As String,
<OutAttribute> ByRef metersPerCustomUnit As Double
) As Boolean
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:
Booleantrue if successful, false otherwise.
See Also