An alternative to checking for the gizmo_file knob is to see if the node is a subclass of nuke.Gizmos:

gizmos = [x for x in nuke.allNodes() if isinstance(x, nuke.Gizmo)]

On 07/01/17 10:32, Howard Jones wrote:
Is there a way to select all various Gizmos in a script.
for i in nuke.allNodes(‘Gizmo’):

sort of thing

Many thanks
*
Howard**Jones*
Visual Effects Supervisor
m: 07973 265624| e:how...@axis-vfx.com <mailto:how...@axis-vfx.com>| w:
www.axis-vfx.com <http://www.axis-vfx.com>


*
*

*A X I S V F X*____

The Bottle Yard Studios

__

Whitchurch Lane

Bristol BS14 0BH

axis-vfx.com <http://axis-vfx.com/>



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


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

Reply via email to