SketchDimensions.addAngularDimension Method

Parent Object: SketchDimensions
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchDimensions.h>

Description

Creates a new angular dimension constraint between the two input lines. The position of the text controls which of the four quadrants will be dimensioned.

Syntax

"sketchDimensions_var" is a variable referencing a SketchDimensions object.
# Uses no optional arguments.
returnValue = sketchDimensions_var.addAngularDimension(lineOne, lineTwo, textPoint)

# Uses optional arguments.
returnValue = sketchDimensions_var.addAngularDimension(lineOne, lineTwo, textPoint, isDriving)
"sketchDimensions_var" is a variable referencing a SketchDimensions object.

#include <Fusion/Sketch/SketchDimensions.h>

// Uses no optional arguments.
returnValue = sketchDimensions_var->addAngularDimension(lineOne, lineTwo, textPoint);

// Uses optional arguments.
returnValue = sketchDimensions_var->addAngularDimension(lineOne, lineTwo, textPoint, isDriving);

Return Value

Type Description
SketchAngularDimension Returns the newly created dimension or null if the creation failed.

Parameters

Name Type Description
lineOne SketchLine The first SketchLine to dimension to.
lineTwo SketchLine The second SketchLine to dimension to.
textPoint Point3D A Point3D object that defines the position of the dimension text. The position of this text defines which quadrant will be dimensioned.
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.

Samples

Name Description
SketchDimensions.addAngularDimension Demonstrates the SketchDimension.addAngularDimension method.

Version

Introduced in version August 2014