if your more familiar with python why not do it in python than?import pymel.core as pmsel = pm.selected()for i in sel: i.rename(str(i).split(":")[-1]) or with list comprehensionsimport pymel.core as pm[i.rename(str(i).split(":")[-1]) for i in pm.selected()] EDIT: i noticed you didnt rename things in the mel code so if you…
Thanks Passerby! I appreciate the time & effort you put in doing this. I'll likely use your code for future reference Though, the only reason why I had to do it with melscript, rather than Python, was it had to fit into a larger chunk of mel that I had written a couple months ago
** nevermind*** 2 mins after I posted this .. I figured out that I don't need to put "String" infront of the array D'oh!" ************ What I'd like to do is remove the Namespace characters from the selected items in an array. So far, I've done exactly that. I've successfully removed the namespace name from the selected…