SpunProfileInput.axis Property

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

Description

Gets and sets the entity used to define the axis of revolution. The axis can be a sketch line, construction axis, or linear edge. The axis must not be perpendicular to the sketch plane.

Syntax

"spunProfileInput_var" is a variable referencing a SpunProfileInput object.

# Get the value of the property.
propertyValue = spunProfileInput_var.axis

# Set the value of the property.
spunProfileInput_var.axis = propertyValue
"spunProfileInput_var" is a variable referencing a SpunProfileInput object.
#include <Fusion/Sketch/SpunProfileInput.h>

// Get the value of the property.
Ptr<Base> propertyValue = spunProfileInput_var->axis();

// Set the value of the property, where value_var is a Base.
bool returnValue = spunProfileInput_var->axis(value_var);

Property Value

This is a read/write property whose value is a Base.

Version

Introduced in version November 2024