Method CreateLinearDimensionBetweenTwoPoints
CreateLinearDimensionBetweenTwoPoints(ElementId, Point2D, Point2D, Direction2D, string, string)
OBSOLETE - Creates a linear dimension using two points.
Declaration
[Obsolete("Since v7.20.255.0, linear dimension creation is done using IDimensions interface.")]
ElementId CreateLinearDimensionBetweenTwoPoints(ElementId inElementId, Point2D inFirstPoint, Point2D inSecondPoint, Direction2D inDirection, string inPrefix, string inSuffix)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Drafting view id. |
| Point2D | inFirstPoint | First point of the dimension. |
| Point2D | inSecondPoint | Second point of the dimension. |
| Direction2D | inDirection | Display vector of the dimension. |
| string | inPrefix | Prefix to add, or empty if no prefix. |
| string | inSuffix | Suffix to add, or empty if no suffix. |
Returns
| Type | Description |
|---|---|
| ElementId |
Remarks
This method is available since v7.19.