【maya】頂点のワールド位置

pythonを使っての頂点のワールド位置の取得。
vertex’s world position using python.

【python】

import maya.cmds as mc

selObj = mc.ls(sl=True)
vtxPos = mc.xform(selObj[0], q=True, ws=True, t=True)

print vtxPos

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA