ConstructionAxisInput.setByTwoPoints Method
Parent Object:
ConstructionAxisInputDefined in namespace "adsk::fusion" and the header file is <Fusion/Construction/ConstructionAxisInput.h>
Description
This input method is for creating a construction axis that passes through the two points (work points, sketch points or vertices). This will fail if the two points are coincident. 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.setByTwoPoints(pointEntityOne, pointEntityTwo)
|
"constructionAxisInput_var" is a variable referencing a ConstructionAxisInput object.
#include <Fusion/Construction/ConstructionAxisInput.h>
returnValue = constructionAxisInput_var->setByTwoPoints(pointEntityOne, pointEntityTwo);
|
Return Value
boolean |
Returns true if the creation of the ConstructionAxisInput is successful. |
Parameters
pointEntityOne |
Base |
The first construction point, sketch point or vertex the axis passes through |
pointEntityTwo |
Base |
The second construction point, sketch point or vertex the axis passes through |
Samples
Version
Introduced in version August 2014