ToolPresets.isValid Property

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

"toolPresets_var" is a variable referencing a ToolPresets object.

# Get the value of the property.
propertyValue = toolPresets_var.isValid
"toolPresets_var" is a variable referencing a ToolPresets object.
#include <Cam/Tools/ToolPresets.h>

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

Property Value

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

Version

Introduced in version April 2023