PDA

View Full Version : Trackview Controller Names...


Floating_Inkpot
05-17-2009, 09:16 PM
Hello,

I have create a new Track view node with this command :
NewTrackViewNode "MyTVNode"

Under this one i created some controllers :
addtrackViewController trackviewnodes.MyTVNode MyController "MyControllerName"

So in the trackview i have this arborescence :

--MyTVNode
...|
...-- MyControllerName01
...-- MyControllerName02
...-- etc...

What i want to do is change the Name of the controller, and i can't find access to that.

I can only get the maxobject wich is represented by the name "MyControllerName01"

I thought that this would give a result but no ;)
Trackviewnodes.MyTVNode.MyControllerName01.name = "MyNewName"
and it logically returns :
-- Unknown property: "name" in Controller:Boolean_Controller

because there is no name property for a controller. but there is a name pointing to that controller, wich is visible in the trackview and wich gives acces to that controller , like a variable... how could i change it or at least get the name of it ?

Thanks for your help,

Floating_Inkpot
05-18-2009, 08:44 AM
Maybe it's not very clear^^

In other words :

I have a MaxTVNode (Max TrackView node) called : MyTVNode
Under this one i have created some tracks (= controllers) wich are named :
MyController01
MyController02
MyController03
etc...

Now i need to export to a text file each track name and each keyframe on that track.
I can't manage to get the name of my tracks, only an ID...

As an alternative, i could do that with a dummy : Put a controller in a custom attribute, and then export the name of the dummy and each keyframe of that controller in a text file.

But that is not the purpose of my script and i would like to get the name of my track ^^ so that i can use it. Is there some way to do that or is that just impossible ?

CGTalk Moderation
05-18-2009, 08:44 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.