ModelUnitSystem
Represents a Rhino Unit System. Wraps the functionality of the UnitSystem type.
Inheritance Hierarchy
System.Object
Grasshopper.Rhinoceros.ModelValue
Grasshopper.Rhinoceros.ModelUnitSystem
Namespace: Grasshopper.Rhinoceros
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public sealed class ModelUnitSystem : ModelValue
The ModelUnitSystem type exposes the following members.
Constructors
Name
Description
Public Method
ModelUnitSystem.
Initializes a new instance of the ModelUnitSystem class
Public Method
ModelUnitSystem(ModelUnitSystem.Value)
Initializes a new instance of the ModelUnitSystem class
Public Method
ModelUnitSystem(ActiveSpace, RhinoDoc)
Initializes a new instance of the ModelUnitSystem class
Properties
Name
Description
Public Property
ActiveSpace
Public Property
BaseSystem
Public Property
Factor
Public Property
IsValid
(Overrides ModelValue.IsValid.)
Public Property
MetersPerUnit
Public Property
Name
Methods
Name
Description
Public Method
AdjustDocumentUnitSystem
Public Method
Static Member
Cast
Public Method
CastTo.T.(T.)
(Overrides
ModelValue.CastTo.T.(T.)
.)Public Method
CastTo.T.(T.)
(Inherited from ModelValue.)
Public Method
Static Member
Copy
Public Method
Equals(ModelValue)
(Inherited from ModelValue.)
Public Method
Equals(Object)
(Inherited from ModelValue.)
Public Method
GetHashCode
(Inherited from ModelValue.)
Public Method
TooltipString
(Overrides
ModelValue.TooltipString.
.)Public Method
ToString
(Inherited from ModelValue.)
Operators
Name
Description
Public Operator
Static Member
.(ModelUnitSystem to ModelUnitSystem.Value)
Public Operator
Static Member
.(ModelUnitSystem.Value to ModelUnitSystem)