FrameHold with SetThisFrame Button v1.2
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Harrison Ly
Sets current frame when created & button to set current frame.
Requirements:
6.0, 6.1, 6.2, 6.3 or later
Windows
6.0, 6.1, 6.2, 6.3 or later
Windows
15 May 2012
893
Whenever I use the FrameHold node I’m always setting the first frame value and I’m fed up with it!
So I hijacked the node and did this:
- set the current frame value when the node is called
- created a button to set a current frame on the timeline
It will save a few seconds each time you use it however it all adds up in the end. This also diminishes you entering the wrong frame number. We all have done that!
Please login in order to download these files.
Comments
Does anybody know how to set up the menu.py file to automatically make the frameHold node use the current frame when called up?
def frameHoldCB():
nuke.thisNode()['first_frame'].setValue(nuke.frame())
nuke.addOnUserCreate(frameHoldCB, nodeClass='Fram eHold')
or in one line:
nuke.addOnUserCreate(lambda:nuke.thisNode()['first_frame'].setValue(nuke.frame()), nodeClass='Fram eHold')
nuke.menu( 'Nodes' ).addCommand( 'Time/FrameHold ', lambda: nuke.createNode ( 'FrameHold', 'first_frame ' + str(nuke.frame( )) ), 'f')
RSS feed for comments to this post