RotaryMachineAxis.rotationAxis Property

Parent Object: RotaryMachineAxis
Defined in namespace "adsk::cam" and the header file is <Cam/Machine/RotaryMachineAxis.h>

Description

The infinite line that defines the direction and location of the axis of rotation.

Syntax

"rotaryMachineAxis_var" is a variable referencing a RotaryMachineAxis object.

# Get the value of the property.
propertyValue = rotaryMachineAxis_var.rotationAxis

# Set the value of the property.
rotaryMachineAxis_var.rotationAxis = propertyValue
"rotaryMachineAxis_var" is a variable referencing a RotaryMachineAxis object.
#include <Cam/Machine/RotaryMachineAxis.h>

// Get the value of the property.
Ptr<InfiniteLine3D> propertyValue = rotaryMachineAxis_var->rotationAxis();

// Set the value of the property, where value_var is an InfiniteLine3D.
bool returnValue = rotaryMachineAxis_var->rotationAxis(value_var);

Property Value

This is a read/write property whose value is an InfiniteLine3D.

Version

Introduced in version April 2023