PDA

View Full Version : PolyEditUV erroring out in MAya 2011?


JakeLV426
08-27-2010, 06:14 PM
Hi, i'm writing a simple MEL tool to move UV's around in the UV texture editor in maya.
However, when trying to use the polyEditUV command, i'm getting this error:

------------------------------------------------------------------------------------
polyEditUV -u -0.912826 -v -0.19 ;

# Error: NameError: name 'polyEditUV' is not defined #

-------------------------------------------------------------------------------------

Is this command somehow broken in Maya 2011? It works fine in 2009 or 2010, and I seem to
remember it working fine in the past in 2011. Any ideas?

Creepfree
08-28-2010, 05:45 AM
Hm,are you sure that you execute it as a MEL command?(because error looks more like Python exception)

Python version might look like this:

import maya.cmds as cmds

cmds.polyEditUV ([Flag=Value]...)

CGTalk Moderation
08-28-2010, 05:45 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.