try with:
nodes=nuke.selectedNodes()
for n in nodes:
print n.name()
print n.Class()
El 26/10/2012, a las 12:04, [email protected] escribió:
> Hi everyone,
>
> I get a realy strange behaviour when I loop through a list of nodes and call
> nuke.getNodeClassName()
>
> nodes=nuke.selectedNodes()
> for n in nodes:
> print n.name()
> print nuke.getNodeClassName(n)
>
> gives me:
>
> # Result:
> Camera3
> ScanlineRender
> ScanlineRender10
> ScanlineRender
>
> Can anyone point me into the right direction? Maybe it's just to early in the
> morning...
>
>
> Best Regards
> Patrick
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python