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 |
|---|---|---|---|
| IsTextPositionAdjustable() | bool | 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. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| 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. | |
| 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. | |
| ValueOverride | string | The text that replaces the segment's value. | |
| Value | Nullable<double> | The length of the segment. | |
| ValueString | string | The displayed value shown for the dimension segment. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |