ToolLibrary.isValid Property

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

"toolLibrary_var" is a variable referencing a ToolLibrary object.

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

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

Property Value

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

Version

Introduced in version April 2023