Python 3dsmax 2015, modify object properties issues

Python 3dsmax 2015, modify object properties issues

Anonymous
Not applicable
494 Views
0 Replies
Message 1 of 1

Python 3dsmax 2015, modify object properties issues

Anonymous
Not applicable

Hello,

 

I want to set some nodes non-renderable in 3dsmax 2015 using Python/MaxPlus.

 

I have the following code, none of those two functions work.

What am I missing ?

 

 

# nodes is a correct INodeTab value

for n in nodes:
    n.SetRenderable(False)

# or

MaxPlus.INode.SetNodeAttribute(nodes,MaxPlus.Constants.AttribRenderable, 0)

 

0 Likes
495 Views
0 Replies
Replies (0)