CAMPatterns.itemByOperationId Method

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

Description

Returns the pattern with the specified operation id.

Syntax

"cAMPatterns_var" is a variable referencing a CAMPatterns object.
returnValue = cAMPatterns_var.itemByOperationId(id)
"cAMPatterns_var" is a variable referencing a CAMPatterns object.

#include <Cam/CAM/CAMPatterns.h>

returnValue = cAMPatterns_var->itemByOperationId(id);

Return Value

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

Parameters

Name Type Description
id integer The id of the pattern.

Version

Introduced in version May 2020