getting framerange of write node using python

Home Page forums Applications Nuke getting framerange of write node using python

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #205519
    Sanjeev Kumar
    Participant

    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 !!!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Copy link
Powered by Social Snap