Seems to work for me. What sort of button? On 31 August 2016 at 22:21, jean-luc <jlaz...@gmail.com> wrote:
> One more question > > > I want to make a button for the menu item Cache-> Clear all > > I found this in the documentation. If I run it in the script editor it > works, but if I assign it to a button, it doesn’t. Is there anything else > to add? > > nukescripts.cache.clearAllCaches() > > > > On 1/09/2016, at 12:52, jean-luc <jlaz...@gmail.com> wrote: > > cool > thanks for that! > > On 1/09/2016, at 12:28, Daniel Stein <daniel.st...@thefoundry.co.uk> > wrote: > > There is also a specific nuke.loadToolset(<filename>) method. > > On 31 August 2016 at 19:08, jean-luc <jlaz...@gmail.com> wrote: > >> I found the answer (Thanks Frank..) >> >> You should be able to just use this >> >> CODE >> nuke.nodePaste(<filename>) >> >> >> >> That's what the "File/Import Script..." option does through the >> nukescripts.import_script.py >> >> >> > On 1/09/2016, at 12:02, jean-luc <jlaz...@gmail.com> wrote: >> > >> > Hi There >> > >> > I’m trying to add a node from the toolsets in Hotbox but the normal >> nuke.createNode(‘MyToolsetNode’) does nothing. >> > >> > Is there another python command for this? I was wondering if I should >> use the “insert comp nodes” functionsince the toolsets are nuke scripts. >> > >> > cheers >> > Jean-Luc >> > >> >> _______________________________________________ >> Nuke-users mailing list >> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >> >
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users