Ah yes, great catch Ben. Seems there's still no way to correlate track names
with tracks, or even determine how many tracks exist in the knob, but you
can at least get access to all the data by indexing into the knob.
-Nathan
-----Original Message-----
From: Ben Dickson
Sent: Monday, January 28, 2013 2:59 PM
To: Nuke user discussion
Subject: Re: [Nuke-users] Nuke 7 tracker and python?
The script used to export the tracks as a CornerPin etc are accessible,
as they are written entirely as PyScript_Knobs
Print the script behind the "Create" button:
print nuke.selectedNode()['createCornerPin'].value()
..which shows stuff like:
if cornerPinOption == 0:
tracker.knob("createPinUseCurrentFrame").execute()
Then if you print the value of the knobs like createPinUseCurrentFrame
you get the relevant exporter script, e.g:
print nuke.selectedNode()['createPinUseCurrentFrame'].value()
Some scripts will be more useful than others as examples
On 27/01/13 06:10, John Mangia wrote:
Does anyone have examples of how to get at the tracking data in the Nuke
7 tracker?
Thanks,
John
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users