seems like the ancient problem where tcl/python code will crash the Expression 
node.
How about a good ol' python button that takes the text knob's value and sets an 
internal Shuffle node accordingly?! Nice and simple, no callbacks and very 
transparent



On Sep 9, 2011, at 10:53 AM, J Bills wrote:

> howdy - can't seem to figure out a way to do this.  probably something
> simple I'm missing.
> 
> I'm getting CG renders that are jamming 15+ channels into an "other"
> layer.  until they fix the shader or whatever's causing this, I'm
> stuck working with them and it's challenging when everything's geared
> towards the 4 chans per layer
> 
> expression node has been great, can just type the layer name and
> shuffle things in on demand.
> 
> was trying to make it even simpler by making a group with some text
> input knobs to drive the expression fields.  But the expression node
> is finicky and seems to be trying to evaluate any syntax I try to type
> in there that might link it to the text input knobs.
> 
> anyone done something like this before?  seems like there should be
> some way of doing it with a callback, etc but i'm coming up with
> nothing
> 
> thanks!
> 
> set cut_paste_input [stack 0]
> version 6.3 v2
> push $cut_paste_input
> Group {
> name ChannelChooser
> selected true
> xpos -327
> ypos 300
> addUserKnob {20 User l PassPicker}
> addUserKnob {1 text_input l hi,}
> text_input "I want to type a layer & channel name here"
> }
> Input {
>  inputs 0
>  name Input
>  xpos 572
>  ypos -78
> }
> Expression {
>  expr0 "and have it appear here"
>  name Expression1
>  xpos 572
>  ypos -7
> }
> Output {
>  name Output1
>  xpos 572
>  ypos 62
> }
> end_group
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

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

Reply via email to