DrawingDimensions.addAngularDimension Method

Parent Object: DrawingDimensions

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::drawing" and the header file is <Drawing/Sheet/DrawingDimensions.h>

Description

Creates an angular dimension between two lines in the same drawing view.

Syntax

"drawingDimensions_var" is a variable referencing a DrawingDimensions object.

returnValue = drawingDimensions_var.addAngularDimension(firstLine, secondLine, placementPoint)
"drawingDimensions_var" is a variable referencing a DrawingDimensions object.

#include <Drawing/Sheet/DrawingDimensions.h>

returnValue = drawingDimensions_var->addAngularDimension(firstLine, secondLine, placementPoint);
"drawingDimensions_var" is a variable referencing a DrawingDimensions object.

returnValue = drawingDimensions_var.addAngularDimension(firstLine, secondLine, placementPoint);

Return Value

Type Description
DrawingDimension Returns the newly created DrawingDimension object, or null if creation failed.

Parameters

Name Type Description
firstLine ViewCurve The first line to dimension. Must be a line view curve (LineViewCurveType) in the same drawing view as secondLine.
secondLine ViewCurve The second line to dimension. Must be a line view curve (LineViewCurveType) in the same drawing view as firstLine.
placementPoint DrawingPoint The sheet-space location of the dimension arc in paper space. Use DrawingPoint.create to supply a standalone point, or a point from a view curve accessor.

Version

Introduced in version October 2026