ScratchPolygonSelection.points Property

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

Description

Gets or sets the polygon vertices as an array of 3D points. Points define a polyline that is treated as a closed polygon for trim operations, or a line for move start points operations.

Syntax

"scratchPolygonSelection_var" is a variable referencing a ScratchPolygonSelection object.
# Get the value of the property.
propertyValue = scratchPolygonSelection_var.points

# Set the value of the property.
scratchPolygonSelection_var.points = propertyValue
"scratchPolygonSelection_var" Is a variable referencing a ScratchPolygonSelection Object.
#include <Cam/GeometrySelections/ScratchPolygonSelection.h>

// Get the value of the property.
std::vector<Point3D> propertyValue = scratchPolygonSelection_var->points();

// Set the value of the property, where value_var is a Point3D.
bool returnValue = scratchPolygonSelection_var->points(value_var);
"scratchPolygonSelection_var" Is a variable referencing a ScratchPolygonSelection Object.
// Get the value of the property.
propertyValue = scratchPolygonSelection_var.points;

// Set the value of the property.
scratchPolygonSelection_var.points = propertyValue;

Property Value

This is a read/write property whose value is an array of type Point3D.

Version

Introduced in version July 2026