RotaryMachineAxis.homePosition Property

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

Description

Specifies the value that this axis returns to when the machine is homed. Units are cm for linear axes or radians for rotary axes.

Syntax

"rotaryMachineAxis_var" is a variable referencing a RotaryMachineAxis object.

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

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

// Get the value of the property.
double propertyValue = rotaryMachineAxis_var->homePosition();

// Set the value of the property, where value_var is a double.
bool returnValue = rotaryMachineAxis_var->homePosition(value_var);

Property Value

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

Version

Introduced in version April 2023