Home Search

DriveWorks Pro 22
PolygonFromPoints

Send Feedback

PolygonFromPoints

Returns a new polygon by creating the outline of a given series of points.

This function is intended to be used with the DriveWorks 3D Extrusion entity.

Syntax

PolygonFromPoints(Points)

Where:

Points: A pipe-bar delimited list of vectors.

Examples

Example 1

Rule (Fill Paths)

PolygonFromPoints("20|0|40|0|60|20|60|40|40|60|20|60|0|40|0|20")

Result

{"20|0","40|0","60|20","60|40","40|60","20|60","0|40","0|20"}

The polygon is created from the given points.