Is there any setting that can be changed within maya so that imported objects either through the copy/paste or import dialog are brought in without automatically being put in a group and having the "pasted" prefix added on?
it's not a major inconvenience but it's rather annoying to have things nicely named and cleanly set up in one scene, bring it over to another and have to re-name and un group
Replies
Search for: pasted__
Replace with: (add a space)
Replace hierarchy. If you did correctly Maya will whine in the log editor but will successfully remove all the prefixes.
http://dl.dropbox.com/u/132816/cutCopyPaste.mel
i added a comment in the script so you can see what i did change. copy it in the maya script folder, restart maya and no more groups and _pasted prefix. if you don't like it, just delete the script from the folder and you're back to maya default...
fade1: thanks a lot man, above and beyond!
No groups, works between scene or with multiple copies of Maya open. You could make this a single button in Maya 2011 or later by giving it double click properties to import and single click to export.
Perfect, thanks