- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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;
Solved! Go to Solution.