I'm hoping someone can help with this. Maybe Diogo?
I'm still wrapping my head around python.
I've downloaded and placed Diogo's djv_this.py file into 'C:\Program Files\Nuke6.0v3\plugins\nukescripts'
I've added 'from djv_this import *' to my 'C:\Program Files\Nuke6.0v3\plugins\nukescripts\_init_'
I've added ;
menu = nuke.menu('Nuke')
m = menu.findItem('Render')
m.addCommand("&DJV Selected", "nukescripts.flipbook(nukescripts.djv_this, nuke.selectedNode())", "Ctrl+F", index=7)
to my .nuke\menu.py file.
I've also created the environment variable 'DJV_PATH' which points to my djv_view.exe
If I run the script on a read node in nuke, I get the 'frames to flipbook' dialogue box. I enter 1-whatever and hit OK.
I get;
'Error running flipbook:
[Errno 2] No such file or directory'
In Diogo's menu.py entry he has 'userscripts.djv_this' instead of 'nukescripts.djv_this' but if I use that I get 'name 'userscripts' is not defined'
Can anyone see what I'm missing? If I can get it working i would ideally like to have the script reside in my .nuke directory if possible.
Thanks for any help!!