geting the name of a selected object
I know this is such a stupid question.. but ive looked and looked and just can't find out how to get the name of the object selected
previously ive worked on code which itterates through all of the objects in a scene and grabs their names, it does like so:
someObj.name
but when i try
$.name
or
$.baseObject.name
but I just can't find the way to do it.. Oh god how I love the sugestions box that you get with a proper IDE.. Maxscript would be so much more newb friendly if it had one
Comments
-.- modelTxt.text =
-.-
modelTxt.text = selection[1].name
i tried that and i got:
so i tried:
modelTxt.text = ""
and same thing..
yet this works:
-.- i wish i had of chosen to use the C++ plugin creation option rather than maxscript
If one object is selected
If one object is selected then you can use
but if you want to collect all name in current selections then:
bga
out of curiosity, how did you
out of curiosity, how did you learn all that you know?
Can you attach your
Can you attach your "entityAttribs" script.
I can't help you if not know what you want to achive.
These fragments of the code means nothing to me.
bga