Home Technical Talk

[pymel] get uvs function

polycounter lvl 16
Offline / Send Message
onionhead_o polycounter lvl 16
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

Sign In or Register to comment.