Home General Discussion

MEL - Script Why doesn't this work

Gabester
polycounter lvl 18
Offline / Send Message
Gabester polycounter lvl 18
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.