Creates a new linear dimension controlling the distance between a sketch line and the specified planar face or construction plane. The sketch line must lie on a plane that is parallel to the planar surface. The text position is automatically chosen and is positioned so it is midway between the line and surface and the extension lines are a minimum length. You can modify the position by using functionality on the returned SketchDistanceBetweenLineAndPlanarSurfaceDimension object.
"sketchDimensions_var" is a variable referencing a SketchDimensions object.
|
"sketchDimensions_var" is a variable referencing a SketchDimensions object.
|
Type | Description |
SketchDistanceBetweenLineAndPlanarSurfaceDimension | Returns the newly created dimension or null if the creation failed. |
Name | Type | Description |
line | SketchLine | The SketchLine being constrained by the dimension. |
planarSurface | Base | The planar BRepFace or ConstructionPlane that the dimension will anchor to. |
isDriving | boolean | Optional argument that specifies if a driving (the dimension controls the geometry) or a driven (the geometry controls the dimension) dimension is created. If not provided a driving dimension will be created. This is an optional argument whose default value is True. |