PolygonConstraint.points Property

Parent Object: PolygonConstraint
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/PolygonConstraint.h>

Description

Returns the sketch points that define the vertices of the polygon. The sketch lines that draw the shape of the polygon can be obtained from the points.

Syntax

"polygonConstraint_var" is a variable referencing a PolygonConstraint object.

# Get the value of the property.
propertyValue = polygonConstraint_var.points
"polygonConstraint_var" is a variable referencing a PolygonConstraint object.
#include <Fusion/Sketch/PolygonConstraint.h>

// Get the value of the property.
std::vector<Ptr<SketchPoint>> propertyValue = polygonConstraint_var->points();

Property Value

This is a read only property whose value is an array of type SketchPoint.

Version

Introduced in version July 2024