获取uv的UDIM象限
import pymel.core as pm
mesh_shape_list = pm.ls(typ='mesh')
udim_set = set()
for shape in mesh_shape_list:
for i in zip(shape.getUVs()[1], shape.getUVs()[0]):
print i
udim_id = eval('10{}{}'.format(int(i[0])+1, int(i[1])+1))
print(int(i[0])+1, int(i[1])+1)
udim_set.add(udim_id)
print(udim_set)
print(len(udim_set))