Not sure if I understand what you are after but if your gizmo is
a real gizmo (not a group), this should work:

[python {nuke.thisNode().input(1)['rotate'].value(0)} ]

On Thu, Jul 26, 2012, at 06:51, stoutch wrote:

Hi everyone,
I'm trying to find a way to catch the name of a gizmo inside an
expression on the pivot of an axis that is contained in the gizmo
itself.
basically the expression is the following:
[python {nuke.toNode('gizmoName').input(1)['rotate'].value(0)} ]
it is working fine but every time i create a second gizmo it
doesn't work anymore because the name of the new gizmo is
different. This expression is attached on one of the pivot values
of the axis inside the gizmo and is grabbing the translation
value of a geometry (card) attached to the input 1 of the gizmo.
i tried to use nuke.thisGroup() instead of the name of the gizmo
but maybe I've done something wrong.
Any idea?
Thanks in advance

_______________________________________________

Nuke-python mailing list

[1][email protected],
[2]http://forums.thefoundry.co.uk/

[3]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-
python

References

1. mailto:[email protected]
2. http://forums.thefoundry.co.uk/
3. http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


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

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

Reply via email to