CAM.documentStockMaterialLibrary Property

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

Description

Gets the document StockMaterialLibrary. The StockMaterialLibrary contains all stock materials used by any setup inside the document. Changes to the original StockMaterialLibrary will not affect any setup because the document StockMaterialLibrary is an independent copy.

Syntax

"cAM_var" is a variable referencing a CAM object.
# Get the value of the property.
propertyValue = cAM_var.documentStockMaterialLibrary
"cAM_var" Is a variable referencing a CAM Object.
#include <Cam/CAM/CAM.h>

// Get the value of the property.
Ptr<DocumentStockMaterialLibrary> propertyValue = cAM_var->documentStockMaterialLibrary();
"cAM_var" Is a variable referencing a CAM Object.
// Get the value of the property.
propertyValue = cAM_var.documentStockMaterialLibrary;

Property Value

This is a read only property whose value is a DocumentStockMaterialLibrary.

Version

Introduced in version September 2024