Message 1 of 1
Python Remove Material
Not applicable
11-12-2015
10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to learn the Python/Max API library to write some procedures into my workflow. One thing that I need to do is remove the material of an object (which isn't needed for this particular layer).
obj = iNode[0].GetObject()
node = iNode[0]
mat = node.Material
... this works fine... but i'm trying to do
node.Material = None
node.SetMaterial(None)
and neither works...
What am I doing wrong?