Solved! Go to Solution.
layers = ce.getObjectsFrom(ce.scene, ce.isLayer, ce.withName("'Layer_Name'") # the above returns a list of layers. typically there's only one with this name, so get first entry of list layer = layers[0] allObjectsInLayer = ce.getObjectsFrom(layer) # you can use filters as well when getting objects from layer instead of scene shapesInLayer = ce.getObjectsFrom(layer, ce.isShape)
layers = ce.getObjectsFrom(ce.scene, ce.isLayer, ce.withName("'Layer_Name'") # the above returns a list of layers. typically there's only one with this name, so get first entry of list layer = layers[0] allObjectsInLayer = ce.getObjectsFrom(layer) # you can use filters as well when getting objects from layer instead of scene shapesInLayer = ce.getObjectsFrom(layer, ce.isShape)