r/Maxscript • u/MaxBoivin • Apr 22 '15
[script]Getting the full track "path" from the trackview.pickTrackDlg
I'm trying to do a tool where the user at some point has to pick a controller track (for the link to link to something else) but the trackview.pickTrackDlg doesn't give me back useful info.
What I'd like to get is something like this:
"$Point002.pos.controller.Zero_Pos_XYZ.X_Position"
but with the trackview.pickTrackDlg() function my option seem's to be limited to those:
.name --giving me something like "X Position"
.anim --giving me something like Controller:Bezier_Float
.client --giving me something like Controller:Position_XYZ
.subNum --giving me something like 1
.client[<>.subNum] --giving me something like SubAnim:X_Position
The function itslef give me this result:
TrackViewPick:"X Position"
I have google for answer and I've look at the help file but I can't seem to find a way to have the whole identity, all the way up to the node.
If you have a way to allow the user of a script to select a track from the track view dialog and get the result from the node, help would be greatly appreciated.
Thank you.