View Single Post
# 3 07-10-2010 , 05:20 PM
ben hobden's Avatar
Subscriber
Join Date: Jul 2008
Location: Chelmsford, Essex, UK
Posts: 1,162

Originally posted by bendingiscool
This sounds like a very simple MEL/Python task, select all your objects, and in a python tab run this...


import maya.cmds as mc

sel = mc.ls(sl=True)

for i in range(len(sel)):
polyToSub = mc.polyToSubdiv(sel[i])
mc.hide(sel[i])

give me a shout if have problems...

cheers,
Chris

Hi Chris. Thanks. I never use Python or MEL, and dont know how to use either. Can I just copy and paste all that into the python box under the viewport and hit enter? Will I need all the objects selected when doing so? Will I not need to add any semi-colons anywhere? at the end of each line? (I have a vague familiarity with php)