The usual solution to dynamic gizmo'y nodes is to use a group, then the
PyScript button (or callback etc) which clears and rebuilds the content

You can export your Group as a gizmo, as usual, then edit the file in a
text editor, replacing the first "Gizmo {" with "Group {"

Avoids having to worry about rebuilding the contents on script load,
things like losing the input connections..

Bertrand Lempereur wrote:
> I have been looking for dynamic node creation "Shake like" inside a
> Gizmo and i find a post in archive about a Gizmo called TimeMachine. I
> study it and begin to create some Gizmo with this method. But after
> digging in a little, i see that such node don't keep the input
> connection when you reload your script or when you duplicate a group of
> node with such node in.
> Any idea on how to solve this?
> 
> Regards,
> 
> Bertrand Lempereur
> TD at MikrosImage
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

-- 
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to