Click or drag to resize

ModelLineWidth Class

Represents a Rhino model linetype.
Inheritance Hierarchy
SystemObject
  Grasshopper.Kernel.TypesGH_GooDouble
    Grasshopper.Kernel.TypesGH_Number
      Grasshopper.Rhinoceros.DraftingModelLineWidth

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
  NameDescription
Public methodModelLineWidth
Initializes a new instance of the ModelLineWidth class
Public methodModelLineWidth(Double)
Initializes a new instance of the ModelLineWidth class
Top
Properties
  NameDescription
Public propertyIsValid
Gets the validity of this instance. If the number is NaN, then it is considered invalid
(Inherited from GH_Number.)
Public propertyIsValidWhyNot
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 propertyTypeDescription (Overrides GH_NumberTypeDescription.)
Public propertyTypeName (Overrides GH_NumberTypeName.)
Public propertyValue
Gets or sets the internal data.
(Inherited from GH_GooT.)
Top
Methods
  NameDescription
Public methodCastFrom (Overrides GH_NumberCastFrom(Object).)
Public methodCastToQ(Q)
Attempt a cast to type Q.
(Inherited from GH_GooT.)
Public methodCastToT(T) (Inherited from GH_Number.)
Public methodDuplicate (Overrides GH_NumberDuplicate.)
Public methodDuplicateNumber (Inherited from GH_Number.)
Public methodEmitProxy (Inherited from GH_Number.)
Public methodEquals(ModelLineWidth)
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodRead (Inherited from GH_Number.)
Public methodScriptVariable
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_GooT.)
Public methodToString (Overrides GH_NumberToString.)
Public methodWrite (Inherited from GH_Number.)
Top
See Also