CAMFolders.itemByName Method

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

Description

Returns the folder with the specified name (as appears in the browser).

Syntax

"cAMFolders_var" is a variable referencing a CAMFolders object.
returnValue = cAMFolders_var.itemByName(name)
"cAMFolders_var" is a variable referencing a CAMFolders object.

#include <Cam/CAM/CAMFolders.h>

returnValue = cAMFolders_var->itemByName(name);

Return Value

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

Parameters

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

Version

Introduced in version January 2016