On 22/05/2012 04:17, andi wrote:
Thanx Chris, That 'big fat string' is the one i've been using. But my
case is a bit different , i need to extract that specific data (like
depth - when using 'animation' codec) and put it on the label.
Hi Andi,
It might be possible to save out different versions of the write node
with different quality settings and seeing what the differences are and
try to look for those specific characters at those positions.
However, this is very unsupported so you'd be on your own.
HTH,
Wouter
So, i want to put the info in the label of the write node :
set cut_paste_input [stack 0]
version 6.3 v4
push $cut_paste_input
Write {
file test.mov
file_type mov
codec "rle "
fps 23.97999954
quality Normal
keyframerate 0
checkHashOnRead false
name Write4
label "\nfps: \[value fps]\nquality: \[value quality]\ndepth: (how?)"
selected true
xpos -1395
ypos 380
}
pls have a look codes inside the label knob, so i want to display that
info in the node's label. for quality , i can use [value quality] or in
python format : [python nuke.thisNode().knob('quality').value()]
but i couldn't do the same thing for the 'depth' info. it returns error.
Any idea ?
Thanx a lot.
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Wouter Klouwen, Software Engineer
The Foundry, 6th Floor, Comms Building, 48 Leicester Sq, London WC2H LT
Tel: +442079686828 • Fax: +4420 79308906 • thefoundry.co.uk
The Foundry Visionmongers Ltd • Reg.d in England and Wales No: 4642027
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python