ScratchPolygonSelection.isEmpty Property

Parent Object: ScratchPolygonSelection
Defined in namespace "adsk::cam" and the header file is <Cam/GeometrySelections/ScratchPolygonSelection.h>

Description

Returns whether the polygon contains no points.

Syntax

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

// Get the value of the property.
boolean propertyValue = scratchPolygonSelection_var->isEmpty();
"scratchPolygonSelection_var" Is a variable referencing a ScratchPolygonSelection Object.
// Get the value of the property.
propertyValue = scratchPolygonSelection_var.isEmpty;

Property Value

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

Version

Introduced in version July 2026