DraftFeatureInput.setSingleAngle Method

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

Description

Defines the draft to be defined so that a single angle is used for all drafts. If the isSymmetric is true then the faces are split along the parting plane and drafted independently using the same angle.

Syntax

"draftFeatureInput_var" is a variable referencing a DraftFeatureInput object.

returnValue = draftFeatureInput_var.setSingleAngle(isSymmetric, angle)
"draftFeatureInput_var" is a variable referencing a DraftFeatureInput object.

#include <Fusion/Features/DraftFeatureInput.h>

returnValue = draftFeatureInput_var->setSingleAngle(isSymmetric, angle);
"draftFeatureInput_var" is a variable referencing a DraftFeatureInput object.

returnValue = draftFeatureInput_var.setSingleAngle(isSymmetric, angle);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
isSymmetric boolean Set to true if the faces are to be split along the plane or parting line and drafted symmetrically. This will have the side effect of setting the isSymmetric property to the same value.
angle ValueInput The ValueInput object that defines the angle of the draft. This can be a positive or negative value which will affect the direction of the draft along with the isDirectionFlipped property.

Samples

Name Description
Draft Feature API Sample

Demonstrates creating a new draft feature.

Before running: Run in the DESIGN workspace from Scripts and Add-Ins (Python, C++, or TypeScript), unless the script states otherwise.

Version

Introduced in version January 2015