wrap.savePolygons

wrap.savePolygons(polygons, fileName)

Save list of polygon indices to text file.

List of polygons is usually produced by wrap.selectPolygons().

Parameters:

polygons : list

List of polygon indices.

fileName : string

Name of the file to save.