Method that creates a new linear dimension constraint between two points.

| Name | Type | Description |
| PointOne | SketchPoint | Input sketch point. |
| PointTwo | SketchPoint | Input sketch point. |
| Orientation | DimensionOrientationEnum | Input constant that specifies if the dimension is horizontal, vertical, or aligned. |
| TextPoint | Point2d | Input object that defines the position of the dimension text. |
| Driven | Boolean | Optional input Boolean that specifies whether the dimension should be a driven or driving dimension. The default value is False, which causes a driving dimension constraint to be created. This is an optional argument whose default value is False. |