Operations.itemByOperationId Method

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

Description

Returns the operation with the specified operation id.

Syntax

"operations_var" is a variable referencing an Operations object.
returnValue = operations_var.itemByOperationId(id)
"operations_var" is a variable referencing an Operations object.

#include <Cam/Operations/Operations.h>

returnValue = operations_var->itemByOperationId(id);

Return Value

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

Parameters

Name Type Description
id integer The id of the operation.

Version

Introduced in version May 2020