StockMaterial.isValid Property

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

Description

Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.

Syntax

"stockMaterial_var" is a variable referencing a StockMaterial object.
# Get the value of the property.
propertyValue = stockMaterial_var.isValid
"stockMaterial_var" Is a variable referencing a StockMaterial Object.
#include <Cam/StockMaterials/StockMaterial.h>

// Get the value of the property.
boolean propertyValue = stockMaterial_var->isValid();
"stockMaterial_var" Is a variable referencing a StockMaterial Object.
// Get the value of the property.
propertyValue = stockMaterial_var.isValid;

Property Value

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

Version

Introduced in version September 2024