layer
Look up one layer by id.
Generated from Plexora 0.0.55View source
from plexora.api import layerlayer(project, layer_id)Parameters
projectProjectrequiredThe project record to read the layer from.
layer_idstrrequiredThe layer's id, synthesized ids (the reference image, the mask, the centroids) included.
Returns
Value
The matching layer, in the same shape layers() returns, or None if
this project has no layer with that id.