LoginSignup
0
1

More than 5 years have passed since last update.

Maya | ワールド座標系の設定を調べる

Last updated at Posted at 2016-11-10

Mayaのメニュー[ウインドウ]-[設定/プリファレンス]-[プリファレンス]の、カテゴリ「設定」のワールド座標系がどっちに設定されているかを調べる。

image

import maya.cmds as cmds

if cmds.upAxis(query=True, axis=True) == "y":
    print "Y UP"
else:
    print "Z UP" 
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1