Didn't get any errors, and I'm on 2012 here as well. Got other python scripts working fine. Thanks anyway, I'll give it a go at home and see if it works there.
I just tried this out and nothing happened. I copy/pasted the latest script to the script editor, dragged it to my custom shelf and created a new python button. I made a selection of verts to spherify, then hit the button. Nada. Any ideas?
sorry, didn't explain usage. if your just running the whole script as is run this import maya.cmds as cmdsdef spherify(): '''spherize from 3ds max''' sel = cmds.ls(sl=True, fl=True) value = cmds.polyEvaluate(bc=True) value = [abs(v[0] - v[1]) for v in value] value = max(value) / 2 deform = cmds.sculpt(sel, mxd=0, oc=True)…
@ CheeseOnToast any error in the script editor. should work just like that, but i only tested on 2012, but it is pretty basic both on the maya commands it uses and what features of pyhton used so should run any maya version