pick up a name from an object and put the same name in another object

starting to do programming in MaxScript and need to make a script that select an object, copy your name and transfer that name to another object. But I have a problem. I need this script to do this automatically for multiple objects in one

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

One of many solutions

One of many solutions is
Select first object that have a name that you want to assigne to other object.
Then ctrl + select other objects and run this code

originalName = selection[1].name
for i = 2 to selection.count do selection[i].name = originalName  

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.