Copy/Paste Material to File

18 votes
Version: 
1.0 Beta
Date Updated: 
07/02/2008
Author Name: 
Vladimir Mulhem

This script was inspired by Copy/Paste Obects v0.2 by Christopher Grant .

It enables you to copy and paste materials across open max instances without having to merge, or load from library. Just click the material in medit, and then execute the script either by shortcut or toolbar, depending on how you install it.

Only one material can be copied at a time at present.

Please let me know of any bugs as i haven't tested it thoroughly in a production environment.

Only works with MAX versions 9 and above.

I am by no means a Maxscript Genius so any help on improving the script would be appreciated.
The script is provided as is.

I don't do this fulltime so I can't really work on it much, or provide support.

Additional Info: 

--Installation:

1. Click Maxscript / Run Script and choose wherever you downloaded this file

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) or /Quads tab

3. Change the Category to "Futuregeist"

4. Click "Copy Material to File" and change its Hotkey to something, maybe Ctrl+Alt+C .Click Assign or put it in a Quad menu

5. Click "Paste Material from File" and change its Hotkey to something, maybe Ctrl+Alt+V. Click Assign or put it in a Quad menu

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 9, 3ds Max 2008
Other Software Required: 
none
Video URL: 
AttachmentSize
CopyPasteMaterials.zip1.33 KB

Comments

Comment viewing options

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

I realize this is a very old

I realize this is a very old script but I still use it daily. Thank you very much for sharing. Do you have any plans to update it for the Slate editor?

Magix's picture

ummmmmm, I no he made the

ummmmmm, I no he made the plugin long time ago, but i thought maybe sameone can help me with that error...

Magix's picture

First I want to say thanks

First I want to say thanks to Christopher Grant, I love copy paste in everything :D.
I have no problem with copy paste object, it's perfect, but I do have problem with Copy/Paste Material to File.
I keep getting this error:

-- Type Error: Call Needs Function or Class, got: undefined

How can I fix this error?
I'm on 3DS Max 8.

Thank you for you time.
Kamran

Anubis's picture

Hi Wasibm, you can directly

Hi Wasibm,
you can directly get material from other .MAX file through MaterialBrowser and the .MAX file can be still open in different Max shell. (see the picture below)

AttachmentSize
mtlbrowser.png 7.63 KB

my recent MAXScripts RSS (archive here)

wasibm's picture

Hi sir, I'm sorry i'm new to

Hi sir,
I'm sorry i'm new to max so i may just be asking something very obvious but when i am pasting the material it gives me an error saying "no get function for undefined". What I need to do is in fact copy an object with its material and properties into a new scene. Perhaps there is a simple way to do this that you could teach me.

Cedrikvh's picture

thanks for this script and

thanks for this script and also a big thanks to Christopher, I've been using Copy/Paste it since it was released, on a daily basis for lots and lots of projects ;-)

futuregeist's picture

Thanks Christopher, I told

Thanks Christopher,

I told you I am no maxscript genious :). I've reuploaded the fixed version. Thanks for the help.

and hey it wouldn't be possible without your great script.

thanks once again

Ciao.

Christopher Grant's picture

Great script, works as

Great script, works as advertised. I'll definitely use this.

Christopher Grant's picture

FYI - you're missing a "-"

FYI - you're missing a "-" in the header of your script so it causes errors...

AttachmentSize
CopyPasteMaterials_cg.mcr 3 KB

Comment viewing options

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