Home General Discussion
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

MEL - Script Why doesn't this work

Gabester
polycounter lvl 19
Offline / Send Message
Gabester polycounter lvl 19
Perhaps if I find out why this "Doesn't" work It'll solve all my problems.

string $currentSelect[] = `ls -selection`;
duplicate -name ("NewObject_" + $currentSelect);

Im trying to name the duplicated object to the same name as the old with a prefix of NewObject. It's a simple enough procedure why doesn't it work?? laugh.gif

Replies

Sign In or Register to comment.