2
$\begingroup$

I am using a Python script to generate keyframes for materials(changing the strength of emission node over time). I use the same script to set up keyframes for material A and material B. I can see keyframes for both material in NLA editor but only keyframes for material A show up in the Graph editor. Did anyone have the save problem? Is it a bug or did I do anything wrong? Thanks for your replies in advance.

$\endgroup$
0
4
$\begingroup$

Both the dopesheet and the graph editor have some options for what they display.

enter image description here

With the cursor button highlighted, only selected items will be shown, for a node tree this means the node that has keyframed values needs to be selected. As you are creating them by script you can set the select property of each node as you create them.

eg.

bpy.data.materials['Material'].node_tree.nodes['Emission'].select=True

The ghost allows you to see items that are hidden, that is the object containing the keyframes is hidden in the 3dview.

The filters list allows you to show or hide based on what data blocks have the keyframes. By turning off the node symbol you won't see any keyframes from nodetree items.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.