Reputation: 6147
What is the best way to save random user tool settings in a nuke script file? I searched around online a fair bit and found nothing regarding this topic which I found hard to believe.
At the end of the day my goal is to save some random tool data on in the file and additionally save some other data specifically on a few nodes in the graph. I was unable to find info on either.
Upvotes: 0
Views: 653
Reputation: 373
Save it on the root! Create a custom knob of any type, set it to "hidden" and store it on the Root of the script:
nuke.Root()
The Root is just a fancy knob, so most any command that works on a node can also work on the Root.
Upvotes: 0