Copy and Paste Objects

110 votes
Version: 
0.2
Date Updated: 
03/11/2005

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.

Additional Info: 

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.

Version Requirement: 
3ds max 6-2009
Video URL: 
AttachmentSize
CopyPasteObjects.mcr2.63 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Christopher Grant's picture

"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:

thecopypastedir = getdir #autoback

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 \\

titane357's picture

Good script. But I can't

Good script. But I can't copy/paste from max32 to max64...:-(

Budi G's picture

Good and very usefull. for a

Good and very usefull.
for a long time this one of my pavorite scripts.

Thank you Christopher

Max power's picture

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

fajar's picture

Ive very glad to using this

Ive very glad to using this script !! very-very important script to download!! very2222 usefull!

thx

beem's picture

excellent script! thanks :)

excellent script! thanks :)

Christopher Grant's picture

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!

futuregeist's picture

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.

;)

cx19800101's picture

good ,very good,thanks

good ,very good,thanks

pseudoe's picture

Thanks! I should have

Thanks! I should have realised that earlier~

 

Eric. 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.