Storing persistent data with Workflow tools #291
-
|
Now that I've finally got workflow tools up an running I'm setting up a little UI for a bunch of the rigging scripts I run regularly. One example of a manual rigging task is taking a big list of joints and parenting them to a big list of controls. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There are a few ways to keep persistent data with workflow tools. NXT works really hard to clean up after itself and throw data away on re-comps. You can disable re-comps when workflow tools execute by unchecking Tl;dr if you need very persistent data:
|
Beta Was this translation helpful? Give feedback.
There are a few ways to keep persistent data with workflow tools. NXT works really hard to clean up after itself and throw data away on re-comps. You can disable re-comps when workflow tools execute by unchecking
Execute > Workflow Tools Always Recomp, however that may not be enough for your case.Each graph (tab) has a global
STAGEobject available, but keep in mindSTAGEis flushed after each execution/comp. So to store data that is persistent as long as NXT is open (and across graphs) you need to set it on amodule, I've attached a graph showing this. Remember though, modules are not scoped to graphs, if you mess with data from one graph, other graphs can access it, NXT only flushed th…