-
-
Save jaforsgren/5c4d3241a57b3e8b7c5f605772ea764f to your computer and use it in GitHub Desktop.
Maxscript: Save Current Object Material to a .mat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn saveMat locationToSave = ( | |
--Add current objects material to max's temp library. | |
append currentMaterialLibrary $.material | |
--Save that library to a location | |
saveMaterialLibrary locationToSave | |
--Clear that temp library | |
deleteItem currentMaterialLibrary 1 | |
) | |
saveMat "D:/Test.mat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment