StockMaterial.designators Property

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

Description

Gets a list of designators of the stock material.

Syntax

"stockMaterial_var" is a variable referencing a StockMaterial object.
# Get the value of the property.
propertyValue = stockMaterial_var.designators

# Set the value of the property.
stockMaterial_var.designators = propertyValue
"stockMaterial_var" Is a variable referencing a StockMaterial Object.
#include <Cam/StockMaterials/StockMaterial.h>

// Get the value of the property.
std::vector<string> propertyValue = stockMaterial_var->designators();

// Set the value of the property, where value_var is a string.
bool returnValue = stockMaterial_var->designators(value_var);
"stockMaterial_var" Is a variable referencing a StockMaterial Object.
// Get the value of the property.
propertyValue = stockMaterial_var.designators;

// Set the value of the property.
stockMaterial_var.designators = propertyValue;

Property Value

This is a read/write property whose value is an array of type string.

Version

Introduced in version September 2024