Read-only property. Return the layers collection.
Get a layer in layers collection
Layers Layers(Index) Layers(LayeName)
Layers collection in Page.
The specified layer in Page.
EX1
import PyOrigin pg = PyOrigin.ActivePage() print(pg.Layers.GetCount())
EX2
import PyOrigin layer=PyOrigin.Pages('Book1').AddLayer('Sheet2') print(PyOrigin.Pages('Book1').Layers(0).GetName()) print(PyOrigin.Pages('Book1').Layers(1).GetName())
GetLayers