Home Page › forums › Applications › Nuke › getting framerange of write node using python
Tagged: nuke command line, write node
- This topic has 0 replies, 1 voice, and was last updated 7 years, 10 months ago by Sanjeev Kumar.
-
AuthorPosts
-
December 11, 2012 at 9:06 pm #205519Sanjeev KumarParticipant
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
}[/CODE]
to read whats the value of frame range I am doing
[CODE]nodeObj= nuke.toNode(“Write1”)obj= nodeObj.frameRange()
print obj.first()
print obj.last()
[/CODE]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 !!![CODE]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
}[/CODE]
to read whats the value of frame range I am doing
nodeObj= nuke.toNode(“Write1”)obj= nodeObj.frameRange()
print obj.first()
print obj.last()
[/CODE]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 !!![CODE]nodeObj= nuke.toNode(“Write1”)
obj= nodeObj.frameRange()
print obj.first()
print obj.last()
[/CODE]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 !!!
-
AuthorPosts
- You must be logged in to reply to this topic.
