ScratchPolygonSelections.isValid Property

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

"scratchPolygonSelections_var" is a variable referencing a ScratchPolygonSelections object.
# Get the value of the property.
propertyValue = scratchPolygonSelections_var.isValid
"scratchPolygonSelections_var" Is a variable referencing a ScratchPolygonSelections Object.
#include <Cam/GeometrySelections/ScratchPolygonSelections.h>

// Get the value of the property.
boolean propertyValue = scratchPolygonSelections_var->isValid();
"scratchPolygonSelections_var" Is a variable referencing a ScratchPolygonSelections Object.
// Get the value of the property.
propertyValue = scratchPolygonSelections_var.isValid;

Property Value

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

Version

Introduced in version July 2026