Or better yet, if easier to do in python (tho I haven't figured out how to translate sets -e -forceElement initialShadingGroup into python yet..) import maya.cmds as cmds import maya.mel as mel cmds.select("*hg*"); models = cmds.ls(sl=True) for m in models: cmds.polySoftEdge( a=180 ); cmds.delete(all=True, ch=True);…
MoP: A lot of people use MELstudio for serious scripting, or jEDIT with MEL syntax : http://www.digimation.com/V2/SoftwareDetail.aspx?ProductCode=SD402