the function does not do anything. Any idea on what to change so that the tracker panel does
not have to be open for it tor work?
#This rough example executes the 'track to last frame' button
#t = nuke.selectedNode()
t = nuke.toNode("myTracker")
tnk = t.getNumKnobs()
print tnk
for i in range(0, tnk):
if t.knob(i).label()== " @#-1> ":
t.knob(i).execute()
dennis
-----Original Message-----
From: dennis
Sent: Aug 16, 2012 12:14 PM
To: Sean Brice, Nuke user discussion
Subject: Re: [Nuke-users] Re: add tracker knobs to user tabThank you Sean. That did work.
It does seem that the tracker panel has to be open for it to work.
Is it possible to have these controls on a group node that contains a tracker and other nodes?
I can put the button in a user tab on the group node without an error but unless I go into the group
and open the tracker panel, it does not run.
I have a need to only put certain controls for the user into a group node for a tool.
thank you for the help,
dennis-----Original Message-----
From: Sean Brice
Sent: Aug 16, 2012 11:12 AM
To: dennis, Nuke user discussion
Subject: Re: [Nuke-users] Re: add tracker knobs to user tab
Hi ,
You can run them using some python in a PyScript button if you want.
----------
Use the Manage User Knobs option to put the following in a PyScript button (in a new user tab) in the Tracker node.
Code:
#This rough example executes the 'track to last frame' button
t = nuke.thisNode()
tnk = t.getNumKnobs()
for i in range(0, tnk):
if t.knob(i).label()== " @#-1> ":
t.knob(i).execute()
Place your tracker search box, then hit the button to track to the last frame.
[ Nuke 6.3v8 ]
----------
The following are for the Track options:
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:Thank you for the info.
It sure would be a good thing if someone could figure out how to do this.
Does anyone know how?
dennis
-----Original Message-----
From: Slickiss
Sent: Aug 16, 2012 9:48 AM
To: [email protected]
Subject: [Nuke-users] Re: add tracker knobs to user tab
--> < style="">--> <> Actually as far as I know those knobs are C++ commands
As for how to add them into a user tab, im not sure, Id love to know that answer too but I dont think it can be done without programming your own commands...
_______________________________________________ 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.ukThe 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
