Create a universal action to disable double sided object.

Create a universal action to disable double sided object.

Anonymous
Not applicable
825 Views
2 Replies
Message 1 of 3

Create a universal action to disable double sided object.

Anonymous
Not applicable

Hi,

 

I want to make this action to disable double sided of any object that I've selected.

 

setAttr "u041167412008Shape.doubleSided" 0;

 

I'm using Maya 2013.

 

Thanks in advance.

0 Likes
Accepted solutions (1)
826 Views
2 Replies
Replies (2)
Message 2 of 3

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

You don't need a mel script for this.

Use Attribute Spread Sheet -> Render

Select all objects values of Double Sided and enter "0".

 

For a mel script you first need to create a selection list and then iterate over it.

Only useful if you do this very often.

http://help.autodesk.com/cloudhelp/2017/ENU/Maya-Tech-Docs/Commands/ls.html

Message 3 of 3

Anonymous
Not applicable
Actually I'm modelling products in their separate files so I have to use it for every product. That is why I need to make an action.
0 Likes