Click or drag to resize

GH_LinearDimension Class

Represents an implementation of a Rhino linear dimension.
Inheritance Hierarchy
SystemObject
  Grasshopper.Kernel.TypesGH_GooAnnotationBase
    Grasshopper.Kernel.TypesGH_GeometricGooAnnotationBase
      Grasshopper.Kernel.TypesGH_AnnotationBase
        Grasshopper.Kernel.TypesGH_Dimension
          Grasshopper.Kernel.TypesGH_LinearDimension

Namespace:  Grasshopper.Kernel.Types
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public class GH_LinearDimension : GH_Dimension

The GH_LinearDimension type exposes the following members.

Constructors
  NameDescription
Public methodGH_LinearDimension
Default constructor, creates an invalid linear dimension.
Public methodGH_LinearDimension(GH_LinearDimension)
Create a duplicate of another GH_LinearDimension. This constructor also copies reference data.
Public methodGH_LinearDimension(Guid)
Create a new referenced linear dimension that references a Rhino dimension with the specified ID.
Public methodGH_LinearDimension(LinearDimension)
Create a duplicate of an existing linear dimension.
Public methodGH_LinearDimension(LinearDimension, ModelAnnotationStyle)
Create a duplicate of an existing linear dimension.
Top
Properties
  NameDescription
Public propertyBoundingbox (Inherited from GH_AnnotationBase.)
Public propertyClippingBox (Inherited from GH_AnnotationBase.)
Public propertyIsGeometryLoaded
Gets the load state of this annotation object. The annotation is considered to be loaded when the local annotation instance is not null.
(Inherited from GH_AnnotationBase.)
Public propertyIsReferencedGeometry
Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
(Inherited from GH_GeometricGooT.)
Public propertyIsValid
Gets the validity of this dimension. If the dimension is referenced but cannot be loaded, then the dimension is not valid.
(Inherited from GH_AnnotationBase.)
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_AnnotationBase.)
Public propertyReferenceID (Inherited from GH_AnnotationBase.)
Public propertyStyle (Inherited from GH_AnnotationBase.)
Public propertyTypeDescription (Overrides GH_AnnotationBaseTypeDescription.)
Public propertyTypeName (Overrides GH_AnnotationBaseTypeName.)
Public propertyValue
Protected propertyValueType (Overrides GH_DimensionValueType.)
Top
Methods
  NameDescription
Public methodBakeGeometry (Inherited from GH_AnnotationBase.)
Public methodCastFrom
Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
(Overrides GH_GeometricGooTCastFrom(Object).)
Public methodCastToT(T)
Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
(Inherited from GH_AnnotationBase.)
Public methodCastToT(T)
Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
(Inherited from GH_Dimension.)
Public methodCastToQ(Q)
Attempt a cast to type T.
(Inherited from GH_GeometricGooT.)
Public methodCastToQ(Q)
Attempt a cast to type Q.
(Inherited from GH_GooT.)
Public methodCastToT(T)
Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
(Overrides GH_DimensionCastToT(T).)
Public methodClearCaches
Clears all volatile caches for this instance. The boundingbox is cleared, and if the annotation is referenced, the local instance of the annotation is erased.
(Inherited from GH_AnnotationBase.)
Public methodDrawViewportMeshes (Inherited from GH_AnnotationBase.)
Public methodDrawViewportWires (Inherited from GH_AnnotationBase.)
Public methodDuplicate (Inherited from GH_AnnotationBase.)
Public methodDuplicateAnnotation
Create a duplicate of this annotation.
(Overrides GH_AnnotationBaseDuplicateAnnotation.)
Public methodDuplicateGeometry
Create a duplicate of this annotation.
(Inherited from GH_AnnotationBase.)
Public methodDuplicateLinearDimension
Create a duplicate of this linear dimension.
Public methodEmitProxy
Create a new proxy for this instance. Return Null if this class does not support proxies.
(Inherited from GH_GeometricGooT.)
Public methodGetBoundingBox (Inherited from GH_AnnotationBase.)
Public methodGetOverrides (Inherited from GH_AnnotationBase.)
Public methodLoadGeometry
If the geometry is referenced and currently unloaded, forces loading of the geometry. Not all IGH_GeometricGoo implementations support referenced geometry.
(Inherited from GH_GeometricGooT.)
Public methodLoadGeometry(RhinoDoc)
If the annotation is referenced and not yet loaded, attempts to load the leader.
(Inherited from GH_AnnotationBase.)
Public methodMorph (Inherited from GH_AnnotationBase.)
Public methodRead (Inherited from GH_AnnotationBase.)
Public methodScriptVariable (Inherited from GH_AnnotationBase.)
Public methodSetOverrides (Inherited from GH_AnnotationBase.)
Public methodToString
Format the dimension using default grasshopper formatting logic.
(Overrides GH_AnnotationBaseToString.)
Public methodTransform (Inherited from GH_AnnotationBase.)
Public methodWrite (Inherited from GH_AnnotationBase.)
Top
Fields
See Also