Swap smooth wireframe button

Swap smooth wireframe button

Anonymous
Not applicable
285 Views
0 Replies
Message 1 of 1

Swap smooth wireframe button

Anonymous
Not applicable

Hello I search how to made a swap button for smooth wireframe 

I've those command line 

 

-the first to put on smooth:

///////////////////////////////////////////////////////////////////////////////////////

 

setAttr hardwareRenderingGlobals.lineAAEnable true; modelEditor -e -smoothWireframe true modelPanel4;

 

updateModelPanelBar MainPane|viewPanes|modelPanel4|modelPanel4|modelPanel4;

dR_setModelEditorTypes;

 

///////////////////////////////////////////////////////////////////////////////////////

 

The second to put off smooth

 

///////////////////////////////////////////////////////////////////////////////////////

setAttr hardwareRenderingGlobals.lineAAEnable false; modelEditor -e -smoothWireframe false modelPanel4;

 

updateModelPanelBar MainPane|viewPanes|modelPanel4|modelPanel4|modelPanel4;

dR_setModelEditorTypes;

///////////////////////////////////////////////////////////////////////////////////////

 

 

 

Thanks for your help

 

If anyone can explain me what the following command line does

 

updateModelPanelBar MainPane|viewPanes|modelPanel4|modelPanel4|modelPanel4;

dR_setModelEditorTypes;

0 Likes
286 Views
0 Replies
Replies (0)