Saturday, January 08, 2005

Remove Material Assignments


When working with your scenes in Viz/Max at some point you may need to remove the material assignments for the objects in your scene. To accomplish this type the following into the maxscript listener:

Geometry.material = undefined



This will leave the materials that are defined in your material editor but remove the material assignment(s) for all the objects in your scene.

happy rendering...

19 comments:

OldVamp on 11:25 AM said...

Selection.material = undefined

beau turner on 1:42 PM said...
This comment has been removed by a blog administrator.
beau turner on 1:52 PM said...

-- This will remove the material(s) from the selected geometry in the scene

$.material = undefined

Anonymous said...

thx man,..tz help a lot..
i was struggling wif tat prob b4..
n din found any tutorial of it..

YDABNEY said...

HOW DO i MAKE A BLUE MARBLE FLOOR, IN A SPACE W/72' CEILING HEIGHT, LOOK LIKE A MARBLE FLOOR?

YDABNEY said...

Help! If i have tried to "dull" my spot lights with reducing my multiplier by more than half- nothing is working. What do you think could possibly be the problem?

beau turner on 9:01 PM said...

ydabney,

For your marble there are a number of ways to do this, you may wish to start with a procedural texture.

For your questions, you may wish to post these to the Vizdepot (www.vizdepot.com) as we will be able to address your issues in more detail as this can be a lengthy item depending on a number of factors. :)

Anonymous said...

Thanks! This is the first result for "maxscript remove material" on Google...

Michael Bilodeau said...

I searched google for:
Remove Material 3DS Max
and it was exactly what I was looking for.

Beau Turner's is super useful!

Anonymous said...

thank you veyr much pal
rodrigo from Buenos Aires Argentina

beau turner on 2:42 PM said...

Looking back through this post and wanted to say thanks for the comments. I did a follow-up post at: http://rndr4food.blogspot.com/2005/01/remove-material-assignments-part-deux.html to help add another way, it basically uses the existing selection via the $ symbol and then sets that as undefined.

Cheers and happy rendering,
Beau

Freek said...

Lost count of how many times I had to remove materials and didn't know how to do it. Great tip, much appreciated !

Anonymous said...

Thanks, just what I needed :)

Anonymous said...

Thanks a lot

Anonymous said...

Thanks u and OldVamp

Roof Coating on 3:48 AM said...

That seems very helpful.. thanks for sharing.

Anonymous said...

Thanks!! Greatly helped me!

ABanks on 9:38 AM said...

Thank you SO much for posting this information, and to everyone who has added to it. This information will spare me a great number of headaches in the future. :)

dissertation on 11:02 AM said...

Thank you for sharing this information. The information was very helpful and saved a lot of my time.

Assignments Writing Help

 

Copyright 2009 All Rights Reserved Beau Turner Triple D Design, LLC | Template design by Brian Gardner | Converted to Blogger Template by Bloganol dot com