Creates a polygon constraint on existing lines in the sketch.
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
|
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
|
Type | Description |
PolygonConstraint | Returns the created PolygonConstraint or null if the creation failed. |
Name | Type | Description |
lines | SketchLine[] | An array of existing SketchLine objects in this sketch that define a valid polygon. They must be the same length, connect at their endpoints, have the same angle between them, and define a closed shape. The order of the lines within the array does not matter. |