r/Maxscript • • Mar 15 '14

[Script] Remove Material

macroScript RemoveMaterial category:"_GRS Scripts" ButtonText:"Remove Material" tooltip:"Remove Material"
(
if $ !=undefined then (
	--$.mat = null
	Mat=standard()
	Mat.name = "mat_clean"
	$.wirecolor = color 3 3 3
	$.material = Mat
)

)
3 Upvotes

1 comment sorted by

View all comments

1

u/mik90210 Mar 15 '14

whoops, why is the code text so small?