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

Syntax

"cAMPatterns_var" is a variable referencing a CAMPatterns object.
returnValue = cAMPatterns_var.itemByName(name)
"cAMPatterns_var" is a variable referencing a CAMPatterns object.

#include <Cam/CAM/CAMPatterns.h>

returnValue = cAMPatterns_var->itemByName(name);

Return Value

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

Parameters

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

Version

Introduced in version January 2016