2027 Class
Changes 0
C

DimensionSegment

Description:
A segment of a dimension within the Autodesk Revit project.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.DimensionSegment
public class DimensionSegment : APIObject
Name Return Type Description Inherited From
M Dispose() None Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) APIObject
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsTextPositionAdjustable() Boolean Indicates if this dimension is supported to set/get TextPosition/LeaderPosition.
M ResetTextPosition() None Resets the text position of the segment to the initial position determined by its type and parameters.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Above string The text shown above the segment's value.
P Below string The text shown below the segment's value.
P IsLocked bool Indicates if this segment is locked.
P IsReadOnly bool Identifies if the object is read-only or modifiable. (Inherited from APIObject ) APIObject
P LeaderEndPosition XYZ The position of the dimension leader end point.
P Origin XYZ The segment origin.
P Prefix string The text shown before the segment's value.
P Suffix string The text shown after the segment's value.
P TextPosition XYZ The position of the dimension text's drag point.
P Value double The length of the segment.
P ValueOverride string The text that replaces the segment's value.
P ValueString string The displayed value shown for the dimension segment.