ScratchPolygonSelections.createNewScratchPolygonSelection Method

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

Description

Creates a new scratch polygon selection and adds it to the end of the collection.

Syntax

"scratchPolygonSelections_var" is a variable referencing a ScratchPolygonSelections object.

returnValue = scratchPolygonSelections_var.createNewScratchPolygonSelection()
"scratchPolygonSelections_var" is a variable referencing a ScratchPolygonSelections object.

#include <Cam/GeometrySelections/ScratchPolygonSelections.h>

returnValue = scratchPolygonSelections_var->createNewScratchPolygonSelection();
"scratchPolygonSelections_var" is a variable referencing a ScratchPolygonSelections object.

returnValue = scratchPolygonSelections_var.createNewScratchPolygonSelection();

Return Value

Type Description
ScratchPolygonSelection Returns newly created ScratchPolygonSelection.

Version

Introduced in version July 2026