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
"Good script. But I can't
"Good script. But I can't copy/paste from max32 to max64...:-("
The script just automates a "save selected" command to a file in your 3ds max autoback folder (as specified in customize/"configure user paths"). I'd guess your 64 bit '09 and 32 bit '09 have different autoback locations / project folders which is what keeps it from working the way you want.
There are 2 things you could do to solve this. First - verify / change your 32/64 bit installs to use the same project folder location.
Alternatively - you could open up the script and force the file to be stored somewhere else by changing the 2 lines that look like this:
to this:
thecopypastedir = "C:"
which would make the temporary file get stored on the root of C (not recommended - change this to whatever you want). Keep in mind that paths in maxscript use either a single forward slash / or double backslash \\
Good script. But I can't
Good script. But I can't copy/paste from max32 to max64...:-(
Good and very usefull. for a
Good and very usefull.
for a long time this one of my pavorite scripts.
Thank you Christopher
Hey need some help, i think
Hey need some help, i think i got it to work mostly. when i hit the copy hokey it says saving... however i cant paste anything.
P:S i used your hotkey
Ive very glad to using this
Ive very glad to using this script !! very-very important script to download!! very2222 usefull!
thx
excellent script! thanks :)
excellent script! thanks :)
futuregeist - I'm glad you
futuregeist - I'm glad you like the script! I've actually been wanting to spend the time to figure out a copy/paste materials script for quite a while but never found the time to do it. I'm downloading your script right now and will no doubt make it part of my daily workflow. Thanks!
hi Christopher, Fantastic
hi Christopher,
Fantastic script. I've been using it day in day out. Saves HOURS of work.
It inspired me to write a similar one for materials.
here's the link
http://www.scriptspot.com/3ds-max/copy-paste-material-to-file/
thanks for the inspiration and the file i/o code.
;)
www.futuregeist.co.uk
good ,very good,thanks
good ,very good,thanks
Thanks! I should have
Thanks! I should have realised that earlier~
Eric.