Hi Dennis,

You can run them using some python in a pyscript button if you want.

Background info (as its not obvious what the button knobs are called):

Add a Tracker node, open it's control panel, right-click and choose 'Manage user knobs..' , then select the 'Pick...' button. You will see the little panel come up with all the knob info.

The first six '@#-1' combinations are what you are after.

----------

So, for a simple example with a Read sequence > Tracker > Viewer
(move your track box to an area you want to track)

Put the following in your Script Editor, select the Tracker node, and run the script.

Code:

#This rough example executes the 'track to last frame' button
t = nuke.selectedNode()
tnk = t.getNumKnobs()
for i in range(0, tnk):
  if t.knob(i).label()== " @#-1> ":
      t.knob(i).execute()

----------

The 'Pick...' order runs from left to right on the control panel button layout. The following are for the buttons:

track a range of frames using the frame range dialogue
@#-1<; R

track to the first frame
@#-1<

track to the previous frame
@#-1<|

track to he next frame
@#-1|>

track to last frame
@#-1>

track a range of frames using the frame range dialogue
R @#-1>;



Hope that helps.

Cheers,

Sean




dennis wrote:
Hi all.

I would like to add the following to a user panel from the tracker:

Track a range of frames using the frame rage dialog (reverse)
Track to first frame
Track to previous frame
Track to next frame
Track to last frame
Track a range of frames using the frame rage dialog (forward)

Reset
Grab
Clear Offset
Clear All

I can all all of the other functions using the Manage User Knobs.

Any one have an idea of how to do this?

thanks for your help,

dennis _______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

--
Sean Brice, Product Designer
The Foundry, 6th Floor, The Communications Building
48 Leicester Square,
London, WC2H 7LT, UK
Tel: +44 (0)20 7968 6828 / Fax: +44 (0)20 7930 8906 / Web: www.thefoundry.co.uk

The Foundry Visionmongers Ltd / Registered in England and Wales No: 4642027

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to