MachineSpindle.peakTorque Property

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

Description

Specifies the peak torque (Nm) for this spindle.

Syntax

"machineSpindle_var" is a variable referencing a MachineSpindle object.

# Get the value of the property.
propertyValue = machineSpindle_var.peakTorque

# Set the value of the property.
machineSpindle_var.peakTorque = propertyValue
"machineSpindle_var" is a variable referencing a MachineSpindle object.
#include <Cam/Machine/MachineSpindle.h>

// Get the value of the property.
double propertyValue = machineSpindle_var->peakTorque();

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

Property Value

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

Version

Introduced in version July 2025