MachineAxisConfigurations.itemById Method

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

Description

Get the configuration with the given ID

Syntax

"machineAxisConfigurations_var" is a variable referencing a MachineAxisConfigurations object.
returnValue = machineAxisConfigurations_var.itemById(id)
"machineAxisConfigurations_var" is a variable referencing a MachineAxisConfigurations object.

#include <Cam/Machine/MachineAxisConfigurations.h>

returnValue = machineAxisConfigurations_var->itemById(id);

Return Value

Type Description
MachineAxisConfiguration Return the MachineAxisConfiguration with the given ID, or null if the given ID does not match any configuration in the collection.

Parameters

Name Type Description
id string The ID for the configuration to get.

Version

Introduced in version April 2023