Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

[pymel] get uvs function

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


  1. import pymel.core as pm
  2.  
  3. def getUVs():
  4. my_object = pm.ls(sl=True)
  5. uList,vList = my_object.getUVs()
  6. return uList, vList
  7. getUVs

Sign In or Register to comment.