Hi Vincent, at the moment the Python bindings for the Tracker / Table_knob are limited to numbers. There's no easy way to extract or set text. There is a bug already logged for this, Bug 33882.
If you absolutely need to get at the track names, you can parse the knob's "toScript()" manually with regular expressions but this will be tricky. Cheers, Dan. P.S. I've responded on the forum too. On Thu, Sep 10, 2015 at 7:01 PM, Vincent Langer <m...@vincentlanger.com> wrote: > Hi there, > > I want to feed a Tracker4 with custom values and I know it works with this > Id system: > > 0 "enable", > 1 "name", > 2 "track_x", > 3 "track_y", > 4 "offset_x", > 5 "offset_y", > 6 "T", > 7 "R", > 8 "S", > 9 "error", > 10 "error_min", > 11 "error_max", > 12 "pattern_x", > 13 "pattern_y", > 14 "pattern_r", > 15 "pattern_t", > 16 "search_x", > 17 "search_y", > 18 "search_r", > 19 "search_t", > > numColumns*trackIdx + xx > > works great with the x and y values but how do I set the track name? > > .getValue(numColumns*trackIdx + 1) > gives me a float value (0.0) > > here is where I found the information: > http://community.thefoundry.co.uk/discussion/topic.aspx?f=189&t=99665 > > > any ideas? > > cheers, > Vincent > > -- > Vincent Langer > Uhlandstr. 29 > 71634 Ludwigsburg > +49 176 965 177 61 > www.vincentlanger.com > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > -- Dan Ring, Ph.D. Senior Research Engineer The Foundry 5 Golden Square London W1F 9HT Tel: +44(0) 20 7479 4350 Web: www.thefoundry.co.uk Email: dan.r...@thefoundry.co.uk The Foundry Visionmongers Ltd. Registered in England and Wales No: 4642027
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python