I made a simple loop over selections to move UV.

selections = cmds.ls(sl=True)
for sel in selections:

cmds.select(sel, r=True)

cmds.select(cmds.polyListComponentConversion(tuv = True))

cmds.polyEditUV( r=True, u=rand.randrange(0,3) , v=0)


no problem with the UV, but the script editor is giving me this warning for
every objects.


# Warning: Some items cannot be moved in the 3D view. #


Am I doing something wrong? Is there a way to prevent such warning?

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to