Polygons
Polygons : Array.<TBPolygon70> |
Gets a VBArray of TBPolygon70 representing all the polygons attached to the layer.
Example
This example prints the number of polygons attached to the first layer in the project.
var layer = project.Layers.Item(0);
var polyArr = VBArray(layer.Polygons).toArray();
TerraBuilder.Print(polyArr.length);