Invoking Animation Node Functions from Another Script #1713
-
Hi, I'm just starting out using animation nodes, and it's an incredible addition to blender. Thank you for all your work on it! I have a workflow whereby I import and update a series of text fields from an external source using a command-line script. I'd love to use animation nodes to be able to animate these in a fancy way (per character animation being one example) using animation nodes. Would it be possible to update the text objects, and then invoke — from my script — the update function on all the separate text object nodes? I've taken a look at the source and my understanding is that I'd need to run the Any tips would be much appreciated! Many thanks, Mike p.s. I'm currently running all this in blender 2.79 — not sure if that makes a difference! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you can use a new version of Blender and Animation Nodes, the Decompose Text node might be a better option as it doesn't require explicit updates. See https://docs.animation-nodes.com/tutorials/decompose_text/. In any case, you can do |
Beta Was this translation helpful? Give feedback.
If you can use a new version of Blender and Animation Nodes, the Decompose Text node might be a better option as it doesn't require explicit updates. See https://docs.animation-nodes.com/tutorials/decompose_text/.
In any case, you can do
bpy.data.node_groups[<treeName>].nodes[<nodeName>].updateSeparation()
.