Python
maya

Maya | 選択されたオブジェクトのテクスチャUV値を取得する

import maya.cmds as cmds

for obj in cmds.ls(selection=True):
    vrt = cmds.polyListComponentConversion(obj, toUV=True)
    pos = cmds.filterExpand(vrt, selectionMask=35)
    for idx in pos:
        uv = cmds.polyEditUV(idx, query=True)
        print uv