SketchDimensions.addLinearDiameterDimension Method
Parent Object: SketchDimensionsDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchDimensions.h>
Description
Creates a new linear dimension showing the diameter where the first line acts as the center line and the second entity defines the size. The first input entity must be a sketch line. The second entity can be a point or a line that is parallel to the first. The dimension controls the distance as measured perpendicular to the first input line.
Syntax
"sketchDimensions_var" is a variable referencing a SketchDimensions object.
|
Return Value
Type | Description |
SketchLinearDiameterDimension | Returns the newly created dimension or null if the creation failed. |
Parameters
Name | Type | Description |
centerLine | SketchLine | The SketchLine to dimension to which acts as the center line. |
entityTwo | SketchEntity | The parallel SketchLine or SketchPoint to dimension to. If a SketchLine is used it must be parallel to the first line. |
textPoint | Point3D | A Point3D object that defines the position of the dimension text. |
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. |