ConstructionAxisInput.setByTwoPlanes Method

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

Description

This input method is for creating a construction axis coincident with the intersection of two planes or planar faces. This will fail if the two planes are parallel. This can result in a parametric or non-parametric construction axis depending on whether the parent component is parametric or is a direct edit component.

Syntax

"constructionAxisInput_var" is a variable referencing a ConstructionAxisInput object.
returnValue = constructionAxisInput_var.setByTwoPlanes(planarEntityOne, planarEntityTwo)
"constructionAxisInput_var" is a variable referencing a ConstructionAxisInput object.

#include <Fusion/Construction/ConstructionAxisInput.h>

returnValue = constructionAxisInput_var->setByTwoPlanes(planarEntityOne, planarEntityTwo);

Return Value

Type Description
boolean Returns true if the creation of the ConstructionAxisInput is successful.

Parameters

Name Type Description
planarEntityOne Base The first planar face or construction plane to intersect
planarEntityTwo Base The second planar face or construction plane to intersect

Samples

Name Description
Construction Axis API Sample Demonstrates creating construction axis in various ways.

Version

Introduced in version August 2014