nuke.Layer('theBlob')

or to specify the channels it would be:

nuke.Layer('theBlob', ['red', 'green', 'blue', 'alpha'])

Though I think this is only in 6.2v3 and above.

-deke

On Wed, Apr 20, 2011 at 16:00, Brogan Ross <[email protected]> wrote:
> Hey does anyone know how to create channels in a new layer through python?
> I figured out how to create the layer, but it doesn't seem to have any
> control over channels.
>
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to