MachineAxisConfigurations.addRotary Method

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

Description

Add a new rotary axis configuration for a kinematics part.

Syntax

"machineAxisConfigurations_var" is a variable referencing a MachineAxisConfigurations object.
returnValue = machineAxisConfigurations_var.addRotary(partId)
"machineAxisConfigurations_var" is a variable referencing a MachineAxisConfigurations object.

#include <Cam/Machine/MachineAxisConfigurations.h>

returnValue = machineAxisConfigurations_var->addRotary(partId);

Return Value

Type Description
RotaryMachineAxisConfiguration Returns the newly created RotaryMachineAxisConfiguration or null if creation failed.

Parameters

Name Type Description
partId string ID used to label this axis configuration and link to a part in the kinematics tree. partID must match a part of type AxisMachinePartType in the kinematics tree and the part must be a rotary axis.

Version

Introduced in version April 2023