[Closed] Renaming Track View Nodes and Controllers
Hey guys. If I wish to rename existing Track View Nodes or Controllers via Maxscript, how to do it?
I’ve managed to rename the SubAnims in List Controllers using the <list_controller>.setName, but for non-list nodes I simply can’t figure out how to do the renaming.
Take this code as a starter example:
[quote=]the_node = newTrackViewNode “New Track Node”
the_ctrl = bezier_position ()
addTrackViewController the_node the_ctrl “The Track”
It will simply create one new TV Node and add a Track to it.
Obviously both the node and the track got a name. The thing I consider “name” here is “New Track Node” and “The Track”.
If I try and access the SubAnim of the TV Node like this:
the_node[1].name
I can clearly see that it’s got a name property since it returns “The Track”, but this one is read only.
There must be a way to rename existing TV Nodes and Controllers, right? I hope you’re not only allowed to name things at creation…
MXS doesn’t provide a tvnode or controller node renaming interface. The best you can do is to delete one and add it again with a new name. Using SDK (c++ for sure) you can do renaming directly
but all changes on TrackViewNodes are not undoable! just i’m letting you know