Reply
Reply
 
Thread Tools Display Modes
MikeF's Avatar
Old (#1)
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
Portfolio -- www.mikefortais.net --
Offline , polycounter, 1,186 Posts, Join Date Nov 2004, Location Toronto, Ontario  
   Reply With Quote

bugo's Avatar
Old (#2)
Maya does it as a protection to not copy over files on the existing file you are pasting. But yeah, why the groups? I don't know... hard to say. It's just like as "separate", creates groups, plus nodes everywhere. I rather using "detach" from CreativeCrash.
Offline , dedicated polycounter, 1,459 Posts, Join Date Feb 2006, Location Redmond WA Send a message via MSN to bugo Send a message via Skype™ to bugo  
   Reply With Quote

Denny's Avatar
Old (#3)
After import, select the groups and go to Modify > Search and Replace Names. If you have pasted__ as prefix do:

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.
Offline , spline, 127 Posts, Join Date Sep 2007, Location Europe  
   Reply With Quote

fade1's Avatar
Old (#4)
you can modify the existing copy/paste script from maya.
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...
Offline , spline, 211 Posts, Join Date Apr 2007, Location Munich, Germany  
   Reply With Quote

MikeF's Avatar
Old (#5)
thanks for the info guys much appreciated.

fade1: thanks a lot man, above and beyond!
Portfolio -- www.mikefortais.net --
Offline , polycounter, 1,186 Posts, Join Date Nov 2004, Location Toronto, Ontario  
   Reply With Quote

bugo's Avatar
Old (#6)
hey, thats awesome, thanks fade1
Offline , dedicated polycounter, 1,459 Posts, Join Date Feb 2006, Location Redmond WA Send a message via MSN to bugo Send a message via Skype™ to bugo  
   Reply With Quote

Warheart's Avatar
Old (#7)
You could also use duplicate rather than copy/paste (ctrl+d).
Offline , spline, 155 Posts, Join Date May 2006, Location Scotland  
   Reply With Quote

Denny's Avatar
Old (#8)
Doesn't work between scenes. ;)
Offline , spline, 127 Posts, Join Date Sep 2007, Location Europe  
   Reply With Quote

Warheart's Avatar
Old (#9)
Ah yes.. this is why I should read the post properly
Offline , spline, 155 Posts, Join Date May 2006, Location Scotland  
   Reply With Quote

malcolm's Avatar
Old (#10)
I made myself a button that exports selection to c:temp as temp.mb, I then have another button which imports c:temp/temp.mb

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.
Offline , card carrying polycounter, 2,029 Posts, Join Date Oct 2004, Location Vancouver Canada  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch