I recently just started learning pymel. pretty clueless about how to troubleshoot. Hopefully some of you can help me. Ive been trying to write some code to get UV location and uv ids.
Here is the basic code I wrote:
import pymel.core as pm
def getUVs():
my_object = pm.ls(sl=True)
uList,vList = my_object.getUVs()
return uList, vList
getUVs