Toggle Tracker4 TRS Values v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Henriette Adel
toggle the T, R and S values of a Tracker4 Node for each track at once
Requirements:
11.0, 10.5, 10.0 or later
06 Aug 2019
134

Toggle Tracker4 TRS Values

 
This script allows you to enable/disable the T, R and S values of a Tracker4 Node for an infinite number of tracks at once.
 
If you choose the toggleTRS command in your animation menu this dialog box appears and lets you set each value separately.
 
dialog
 
The default values are chosen based on the values of your first track.
 
before
 
When OK is pressed, all values are set accordingly (expl.: enable everything).
 
after
 

Installation:

  1. Copy the python file into your nuke environment
  2. add the following lines into your menu.py
 
 
from toggleTracker4TRS import toggleTrackerTRS
 
animM = nuke.menu('Animation')
animM.addCommand('toggleTRS', 'toggleTrackerTRS()')
 
  • add a shortcut if you wish

 

Disclaimer: The inspiration for this one came from Narayani Andrade's Enable Tracker's TRS Tool (found here http://www.nukepedia.com/python/nodegraph/enable-trackers-trs) and programmed for a simple but more diverse usage. It was tested on a windows machine with Nuke10 and Nuke11, but should work with all versions.
Please login in order to download these files.

Comments   

 
0 # Minnaz Rehman 2023-04-06 10:30
Getting an error when selecting the Tracker node and running the script, it says this is a Tracker4 feature, please select a Tracker.

using Nuke 14
 
 
0 # Henriette Adel 2024-04-09 12:53
Sorry I didn't realize there was a comment here.

How do you run the Script?

The function needs to be embedded into the animation menu. It checks against nuke.thisNode() .Class() which would be Root if it is not started from within the Node's Animation Menu.

Then it still works in Nuke15 for me.
 

You have no rights to post comments

We have 3333 guests and 91 members online