ModelLineWidth
Represents a Rhino model linetype.
Inheritance Hierarchy
System.Object
Grasshopper.Kernel.Types.GH_Goo.Double.
Grasshopper.Kernel.Types.GH_Number
Grasshopper.Rhinoceros.Drafting.ModelLineWidth
Namespace: Grasshopper.Rhinoceros.Drafting
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public sealed class ModelLineWidth : GH_Number, IEquatable<ModelLineWidth>
The ModelLineWidth type exposes the following members.
Constructors
Name
Description
Public Method
ModelLineWidth.
Initializes a new instance of the ModelLineWidth class
Public Method
ModelLineWidth(Double)
Initializes a new instance of the ModelLineWidth class
Properties
Name
Description
Public Property
IsValid
Gets the validity of this instance. If the number is NaN, then it is considered invalid
(Inherited from GH_Number.)
Public Property
IsValidWhyNot
Gets a string describing the state of “invalidness”. If the instance is valid, then this property should return Nothing or String.Empty.
(Inherited from GH_Number.)
Public Property
TypeDescription
(Overrides
GH_Number.TypeDescription
.)Public Property
TypeName
(Overrides
GH_Number.TypeName
.)Public Property
Value
Gets or sets the internal data.
(Inherited from GH_Goo.T..)
Methods
Name
Description
Public Method
CastFrom
(Overrides
GH_Number.CastFrom(Object)
.)Public Method
CastTo.Q.(Q.)
Attempt a cast to type Q.
(Inherited from GH_Goo.T..)
Public Method
CastTo.T.(T.)
(Inherited from GH_Number.)
Public Method
Duplicate
(Overrides
GH_Number.Duplicate.
.)Public Method
DuplicateNumber
(Inherited from GH_Number.)
Public Method
EmitProxy
(Inherited from GH_Number.)
Public Method
Equals(ModelLineWidth)
Public Method
Equals(Object)
(Overrides Object.Equals(Object).)
Public Method
GetHashCode
(Overrides Object.GetHashCode..)
Public Method
Read
(Inherited from GH_Number.)
Public Method
ScriptVariable
This function will be called when the local IGH_Goo instance disappears into a user Script. This would be an excellent place to cast your IGH_Goo type to a simple data type.
(Inherited from GH_Goo.T..)
Public Method
ToString
(Overrides
GH_Number.ToString.
.)Public Method
Write
(Inherited from GH_Number.)