One thing that come to my mind is that you need to expose the knob you
want the value to be saved. Try to pic it before building the gizmo (
you can set it to hidden if you dont want the user to see it)

On Mon, Dec 10, 2012, at 10:40, Matthieu Cadet wrote:
> Hi !
> 
> I've a little problem with a Gizmo node that I want to make,
> inside the Gizmo I have a Axis node, I update the file knob
> value of this Axis node from a "Python Script Button" knob
> that is on the Axis node... I set the Axis knob value like this
> inside my python function:
> 
> nuke.thisNode().knob("file").setValue(fbxPathValue)
> nuke.thisNode().knob("reload").execute()
> 
> But the thing is when I set the File knob value to
> "c:\temp\A"  for example,  when I save the
> current nuke script, then I reopened it, the value
> of Axis file knob is set back to the value when
> the Gizmo file was saved ...
> 
> Can someone explain me how to make this File knob save the
> value in the context of Gizmo node ?
> 
> Because, yes when I leave the Group node that I use to generate
> the Gizmo node as a Group node, the File knob value is saved.
> 
> Thanks for your help !
> 
> -- 
> Matthieu Cadet
> Compositor Artist & TD,
> nWave Digital
> [email protected]
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


-- 
  Hugo Léveillé
  TD Compositing, Vision Globale
  [email protected]

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to