Setups.itemByOperationId Method

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

Description

Returns the setup with the specified operation id.

Syntax

"setups_var" is a variable referencing a Setups object.
returnValue = setups_var.itemByOperationId(id)
"setups_var" is a variable referencing a Setups object.

#include <Cam/CAM/Setups.h>

returnValue = setups_var->itemByOperationId(id);

Return Value

Type Description
Setup Returns the specified setup or null in the case where there is no setup with the specified operation id.

Parameters

Name Type Description
id integer The id of the operation.

Version

Introduced in version May 2020