Hello Panupat !

That warning appears if a 3dpanel is selected at the moment you call your
tool, it's just a warning that should not influence the process.


On Sun, Jul 15, 2012 at 12:34 PM, Panupat Chongstitwattana <
[email protected]> wrote:

> 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
>



-- 
------------------------------------
[email protected]
------------------------------------

-- 
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