ConstructionAxisInput.setByLine 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 non-parametric construction axis whose position in space is defined by an InfiniteLine3D object.

This method of defining a construction axis is only valid when working in a direct edit model (do not capture design history). This is not valid when working in a parametric model and will fail.

Syntax

"constructionAxisInput_var" is a variable referencing a ConstructionAxisInput object.
returnValue = constructionAxisInput_var.setByLine(line)
"constructionAxisInput_var" is a variable referencing a ConstructionAxisInput object.

#include <Fusion/Construction/ConstructionAxisInput.h>

returnValue = constructionAxisInput_var->setByLine(line);

Return Value

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

Parameters

Name Type Description
line InfiniteLine3D An InFiniteLine3D object

Samples

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

Version

Introduced in version August 2014