Copy and Paste Objects
It's always annoyed me that I couldn't copy objects from one instance of max and paste them into another - as I work with 2 or 3 instances of max up at a time. It's tedious to do a save selected / merge objects so this script does it for you. It's not a TRUE copy/paste via the windows clipboard - but it will let you very quickly copy objects from one file to another.
09-02-03 Update: just updated contact info in script header and changed version requirement to reflect current versions of 3ds max...
Usage:
Select the objects you want to copy. Run 'copy script' (I assign mine to Ctrl+Shift+C). Now run the 'paste script' (I assign mine to Ctrl+Shift+V) into either the same file or you can load another instance of max and 'paste' the objects into it.
Installation:
1. Click Maxscript / Run Script and choose wherever you downloaded this file to
1a. It will seem like nothing happened but that's exactly what it should do - you now need to assign a shortcut to it
2. Click Customize / Customize User Interface / Keyboard (tab)
3. Change the Category to 'CG_Tools'
4. Click 'Copy Objects to File' and change its Hotkey to something - maybe Ctrl+Shift+C .Click Assign
5. Click 'Paste Objects from File' and change its Hotkey to something - maybe Ctrl+Shift+V. Click Assign
6. Click Save and save your custom UI settings to a file - do yourself a favor and don't use the default.
7. That's it.
| Attachment | Size |
|---|---|
| CopyPasteObjects.mcr | 2.63 KB |

Comments
Network directory
Im trying to repath the script to save and merge from a network directory however the script doesnt seem to like UNC file pathing. I can get it to work only if the directory is asigned a drive letter. any ideas?
eg. thecopypastedir = "\syd01\temp"
returns an error saying it cant find the location
thecopypastedir = "c:\temp"
This works
and a work around would be to configure say the project sound directory to \syd01\temp and use
thecopypastedir = getdir #sound
also works
But the nicest, cleanest, easiest way would be to just use the full file path (if possible?)
Sam Shepherd
autodesk should think about that loooooooooong time ago
autodesk should think about that loooooooooong time ago
Awsome Script! Thank you!!!!
Awsome Script! Thank you!!!!
Thakns. It`s great!
Thakns. It`s great!
Very useful
Excellent, and it works with max 2013 64bit
www.waseem3D.com
Excellent!
Excellent script! Thank you so much.
GREAT! tanks
GREAT! tanks
http://svenfraeys.com
so simple yet so useful :)!
so simple yet so useful :)! thanks!
edit: just to note, for people having the same issue: if you have two max instances opened that do have different project folders set, the default path in the script
getDir #autobackwill not work, so just change it to something likegetDir #maxrootor"D:\yourFolder\"to make it work.Never get low & slow & out of ideas
Thanks for the awesome
Thanks for the awesome script, it really helps my workflow as I now generally have 2 3ds max's loaded up, one for assets and the other for the main model.
This script has also helped me quickly copy objects between networks.
Man ... this is a BIG time
Man ... this is a BIG time saver ! thanks a lot for sharing this one !
By curiosity, is there any temp file(s) stored somewhere ? I'd like to know that just to avoid having one gigas of those :) :)
Thanks again.
NicolasC