getting framerange of write node using python

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 12 December 2012   #1
Question getting framerange of write node using python

here is the copy paste of write node
set cut_paste_input [stack 0] version 6.3 v1 push $cut_paste_input Write { file "Z:/Development/Introduction to 3D in Nuke/project_files/renders/asteroids_render.%03d.jpg" file_type jpeg _jpeg_quality 0.9 first 10 last 12 use_limit true checkHashOnRead false version 1 name Write1 selected true xpos 209 ypos 11 }

to read whats the value of frame range I am doing
nodeObj= nuke.toNode("Write1") obj= nodeObj.frameRange() print obj.first() print obj.last()

but instead of first as 10 and last as 12 i am getting each returned as 1, 1 ..

any idea how to get the frame range i am doing that from the commandline using nuke -t !!!
Old 12 December 2012   #2
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:50 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.