ScratchPolygonSelections.count Property

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

Description

The number of items in the collection.

Syntax

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

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

Property Value

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

Version

Introduced in version July 2026