In the workflow I’m developing, I have a scene set up with a character made of four parts. These are imported as alambic files. I would like to write a script that would assign the shaders (already in the scene) to the objects so I don’t have to do it manually every time I update my scene (changing the path of the cache crashes Blender, I filed a report already. This is for a workaround).
In the python tooltips, I can see the commands being executed, like
bpy.ops.mesh.primitive_cube_add(view_align=False, enter_editmode=False, location=(4.70432, 26.7865, 4.33576))
when I create a cube. The problem is, I don’t get any commands when I assign a shader to an object. Or when I select an object, or many other commands. So how can I find how to do this? If I search for shader in the docs, I get about 1000 results. In Maya, you have to turn ON a thing called “echo all commands” to see them all. Maybe there’s something similar in Blender, something that will display every thing being done.