Operations.itemByName 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 name (as appears in the browser).

Syntax

"operations_var" is a variable referencing an Operations object.
returnValue = operations_var.itemByName(name)
"operations_var" is a variable referencing an Operations object.

#include <Cam/Operations/Operations.h>

returnValue = operations_var->itemByName(name);

Return Value

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

Parameters

Name Type Description
name string The name (as it appears in the browser) of the operation.

Version

Introduced in version January 2016