fn getLayers layer layers:#() = ( append layers layer for child = 1 to layer.getNumChildren() do getLayers (layer.getChild child) layers:layers return layers ) if selection.count == 1 do ( local layers = getLayers $.layer local layerNodes, allNodes = #() for layer in layers do (layer.nodes &layerNodes; join allNodes layerNodes) select allNodes )
Replies