I've created a vray user attribute that I'm using to exclude certain attributes for the render. The value in the user attribute is "ExcludeAO=1;" (without the quotes). This is working fine when I make it manually, but I'd like to apply this user attribute to every geo in my scene using a script since there are hundreds of objects and doing it manually would be tedious.
Could someone be so kind as to tell me how to do that?
The script should:
1) Create a vray user attribute for all objects in the scene (on the geo's Shape node)
2) Assign the value "ExcludeAO=1;" (without the quotes).
The difficulty I'm having is that I cannot see what the commands are for this in the MEL of the script editor, since they don't show up there.
thanks!
Could someone be so kind as to tell me how to do that?
The script should:
1) Create a vray user attribute for all objects in the scene (on the geo's Shape node)
2) Assign the value "ExcludeAO=1;" (without the quotes).
The difficulty I'm having is that I cannot see what the commands are for this in the MEL of the script editor, since they don't show up there.
thanks!
Comment