Notifications
Clear all

[Closed] filtering out object name

oh, is this a newbie question or what?
I want to filter out the name of a selected object and put in a variable, is there an easy way?

if i us $, i get, for example:
$Cylinder:Cylinder01 @ [-33.516575,-12.874283,0.000000]

and I want the part “Cylinder01” aka the name of the object, if you see my meaning.

What I want to do is first take the name of an object (a mesh), make a lot of changes, like attaching stuff and so on, and during that process it will be renamed, and therefor I want to give it the original name, when I’m done altering the object.

anyone?

/ t

3 Replies

OriginalName = $.name

thx. I found it out eventually.
/ t

I’m a noob trying to learn MAXScript. Is it possible to get the name of a group using this method?