ack! caution!

don't paste that into a script before getting rid of this line!

add_layer {rgba redguard1.glow rgba.edgeblur}

jrab

On 09/10/2013 10:51 PM, Holger Hummel|Celluloid VFX wrote:

hi Paul,

check the code in the 'statusmessage' python script knob of the group i pasted below.
is this what you're after?

cheers,
Holger


Group {
name Group1
selected true
xpos -96
ypos -675
disable true
}
Input {
 inputs 0
 name Input1
 selected true
 xpos 0
 ypos 46
}
add_layer {rgb rgb.red rgb.green rgb.blue}
add_layer {rgba redguard1.glow rgba.edgeblur}
Grade {
 name Grade1
 selected true
 xpos 0
 ypos 140
 addUserKnob {20 User}
 addUserKnob {22 statusmessage l " status message " T "status = nuke.thisGroup()\['disable'].getValue()\n\nnuke.message(\"disable knob status of parent group: \" + str(status))\n" +STARTLINE}
}
Output {
 name Output1
 selected true
 xpos 0
 ypos 253
}
end_group





Paul Hudson wrote:
Hi,
If I check the disable knob of a node inside a disabled Group, it is not True.  This makes sense, because the knob itself isn't set.  However, is there a method to check if a node has 'inherited' a disabled state from its parent(s)?

Thanks,
Paul
------------------------------------------------------------------------

_______________________________________________
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

Reply via email to