Method that creates a new offset dimension constraint between two entities.
Name | Type | Description |
Line | SketchLine | Input SketchLine object. |
Entity | SketchEntity | Input sketch entity. This must be either a or SketchPoint object. If creating a linear diameter dimension and Entity is a SketchLine, then Entity is used as the centerline. If Entity is a SketchPoint, then Line is used as the centerline. |
TextPoint | Point2d | Input object that defines the position of the dimension text. |
LinearDiameter | Boolean | Input Boolean that specifies whether the dimension should be a standard distance dimension or be displayed as a linear diameter dimension. |
Driven | Boolean | Optional input Boolean that specifies whether the dimension should be a driven or driving dimension. The default is False, which will create a driving dimension. This is an optional argument whose default value is False. |