> # Warning: Some items cannot be moved in the 3D view. #
>
>
> Am I doing something wrong? Is there a way to prevent such warning?
>
Hi,
Maybe by saving uvs into a list first we can avoid selecting the uv on
every operation which gives that warning.
##
#@param a uv string name
def foo(x):
cmds.polyEditUV( x, r = True, u=.05, v=.05)
#save out all your uvs
uv = ('pPlane1.map[1]', 'pPlane1.map[2]')
#run operation on each without having to select them
map( foo, uv )
Hope this was helpful.
Cheers,
Nate
I learned about using the map from reading Adam Pletcher's amazing python
tips on his online blog ( techarttiki dot blogspot dot com )
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe