Too late but oneliner

gizmos = [x for x in nuke.allNodes() if 'gizmo_file' in x.knobs()]

​

On Sat, Jan 7, 2017 at 1:17 AM, Howard Jones <how...@axis-vfx.com> wrote:

> Not to worry
> if 'gizmo_file' in n.knobs():
>
> seems to be the trick
>
> *Howard **Jones*
> Visual Effects Supervisor
> m: 07973 265624 | e: how...@axis-vfx.com | w: www.axis-vfx.com
>
> On 7 Jan 2017, at 00:02, Howard Jones <how...@axis-vfx.com> 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 | w: www.axis-vfx.com
>
>
>
>
> *A X I S V F X*
>
> The Bottle Yard Studios
>
> Whitchurch Lane
>
> Bristol BS14 0BH
>
>
>
> 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
>
>


-- 

*Erik Johansson*
*Pipeline TD*
*Goodbye Kansas Entertainment *
Owner of Fido, Bläck, Imagination Studios, Infinite Entertainment & Goodbye
Kansas Game Invest

Rosenlundsgatan 40, 4th floor
118 53 Stockholm, Sweden
Ph: +46 8 556 990 00
Orgno: 556974-1993

www.goodbyekansas.se
_______________________________________________
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