I found the problem.
I needed to import the nukescripts before calling the command.
import nukescripts
nukescripts.cache.clearAllCaches()
I was adding it to Hotbox
Thanks!
> On 2/09/2016, at 08:28, Daniel Stein wrote:
>
> Seems to work for me. What sort of button?
>
> On 31 August 2016
Seems to work for me. What sort of button?
On 31 August 2016 at 22:21, jean-luc 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 do
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,
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
__