DataObject.isValid Property

Parent Object: DataObject
Defined in namespace "adsk::core" and the header file is <Core/Dashboard/DataObject.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

"dataObject_var" is a variable referencing a DataObject object.

# Get the value of the property.
propertyValue = dataObject_var.isValid
"dataObject_var" is a variable referencing a DataObject object.
#include <Core/Dashboard/DataObject.h>

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

Property Value

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

Version

Introduced in version September 2024