warning
Save your work first. And don’t expand all!
Execute the following via the PythonEditor :
import GafferScene
n = GafferScene.ShaderAssignment()
n["in"]["childNames"].setValue( IECore.InternedStringVectorData( [
"turtles", "all", "the", "way", "down"
] ) )
root.addChild( n )
Then look at the innocent looking ShaderAssignment node in the HierarchyView, and marvel at its recursive uselessness.
![](https://blog.gafferhq.org/wp-content/uploads/2020/06/image.png)
How does this work? Answers on the back of a postcard please…