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