SelectionSet.isValid Property

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

"selectionSet_var" is a variable referencing a SelectionSet object.

# Get the value of the property.
propertyValue = selectionSet_var.isValid
"selectionSet_var" is a variable referencing a SelectionSet object.
#include <Core/Application/SelectionSet.h>

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

Property Value

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

Version

Introduced in version May 2022