MachinePart.isValid Property

Parent Object: MachinePart
Defined in namespace "adsk::cam" and the header file is <Cam/Machine/MachinePart.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

"machinePart_var" is a variable referencing a MachinePart object.

# Get the value of the property.
propertyValue = machinePart_var.isValid
"machinePart_var" is a variable referencing a MachinePart object.
#include <Cam/Machine/MachinePart.h>

// Get the value of the property.
boolean propertyValue = machinePart_var->isValid();

Property Value

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

Version

Introduced in version April 2023