RhinoCommon API
ViewCaptureSettingsGetModelScale Method |
Returns the model scale factor.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.21

public double GetModelScale( UnitSystem pageUnits, UnitSystem modelUnits )
Public Function GetModelScale ( pageUnits As UnitSystem, modelUnits As UnitSystem ) As Double
Parameters
- pageUnits
- Type: RhinoUnitSystem
The current page units. - modelUnits
- Type: RhinoUnitSystem
The current model units.
Return Value
Type: DoubleThe model scale factor.
