Maya cmds pymel 单位和轴向设置 import maya.cmds as cmds # 1. to make the Y-axis of the world to be the up axis: cmds.upAxis( ax='y' ) # 2. to make the Z-axis of the world to be the up axis, # and rotate the view: cmds.upAxis( ax='z', rv=True ) # 3. to query