Save python variable in nuke script (.nk)

I´m currently developing a Job Managing Python Script for Nuke wich e.g. sets the write node outputh paths and settings to specified folders an naming conventions.

I have scripted a Pythonpanel in wich the user can choose on wich job, shot …, he is working. All this information is saved in one python list variable

Now i need to save this python list variable within the .nk file, because every time i restart nuke with the specific .nk loaded the variable isnt set anymore.

Does anyone know if its possible to save global python variables within the .nk file ?

Thanks in advance

No Responses to “Save python variable in nuke script (.nk)”

Post a Comment