DocumentStockMaterialLibrary.item Method

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

Description

Get StockMaterial by index in DocumentStockMaterialLibrary.

Syntax

"documentStockMaterialLibrary_var" is a variable referencing a DocumentStockMaterialLibrary object.

returnValue = documentStockMaterialLibrary_var.item(index)
"documentStockMaterialLibrary_var" is a variable referencing a DocumentStockMaterialLibrary object.

#include <Cam/StockMaterials/DocumentStockMaterialLibrary.h>

returnValue = documentStockMaterialLibrary_var->item(index);
"documentStockMaterialLibrary_var" is a variable referencing a DocumentStockMaterialLibrary object.

returnValue = documentStockMaterialLibrary_var.item(index);

Return Value

Type Description
StockMaterial Returns the StockMaterial in the DocumentStockMaterialLibrary by given index.

Parameters

Name Type Description
index uinteger Index of the StockMaterial in the DocumentStockMaterialLibrary.

Version

Introduced in version September 2024