Sometimes I make things too complicated; thanks Frank :)

On Tue, Mar 22, 2011 at 8:19 AM, Frank Rueter <[email protected]> wrote:

> this will do both in one go:
> n['from0'].setValue( 'none' )
>
>
> On Mar 18, 2011, at 3:50 AM, Ean Carr wrote:
>
> > Hi everyone,
> >
> > Are a Copy node's Copy channel knobs a special kind of knob?
> >
> > I ask because the 'from0' knob appears to combine two  -- a boolean and
> an enumeration -- but they're combined as one knob object called simply
> from0'. They're obviously linked internally but appear to be a single knob
> object.
> >
> > How would I set, for example, from0's boolean to False and the
> enumeration to none? I have been doing this with the fromScript() method
> like:
> >
> > copy_n['from0'].fromScript('-none')
> >
> > ...but is there a better method that I'm missing?
> >
> > Thanks,
> > Ean
> > _______________________________________________
> > 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
>
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to