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)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.