PrintSetting.itemByName Method

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

Description

Returns the PrintSetting item of the specified body preset.

Syntax

"printSetting_var" is a variable referencing a PrintSetting object.
returnValue = printSetting_var.itemByName(name)
"printSetting_var" is a variable referencing a PrintSetting object.

#include <Cam/PrintSetting/PrintSetting.h>

returnValue = printSetting_var->itemByName(name);

Return Value

Type Description
PrintSettingItem Returns the specified parameters or throws exception in the case where there is no parameters with the specified id.

Parameters

Name Type Description
name string The body preset id of the parameters.

Version

Introduced in version April 2023