Please enable JavaScript to view this site.

TerraScan User Guide

Navigation: Batch Processing Reference > Macros > Macro actions > Vectorize

Draw polygons

Scroll Prev Top Next More

Draw polygons

Not Lite

Draw polygons action performs about the same process as the Draw Polygons command. However, instead of drawing polygons immediately into the CAD file, the process writes the coordinates of the polygon vertices into text files.

The text files can be read into the CAD file by using the Read / Polygons command in order to draw the polygons. The storage location and name of the output file(s) are defined in the action settings. If the macro runs on a project with several blocks, the file name should include a variable, such as the block name or number.

macro_draw_polygons

Return value: Number of polygons written in the text file, -1 if the process failed, or -2 if the output files could not be written.

TerraScan User Guide   01.01.2024   © 2024 Terrasolid Ltd