ScriptSpot

Forum topic · ScriptSpot How To

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

By fernandobcruz · 2012-03-08

Description

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 (1)

barigazy · 2013-01-27

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