def getUpAxis(self): """This flag gets the axis set as the world up direction. The valid axis are either 'y' or 'z'.""" return cmds.upAxis(q=True, axis=True)
def setUpAxis(self, axis, rotateView=False): """This flag specifies the axis as the world up direction. The valid axis are either 'y' or 'z'.""" cmds.upAxis(axis=axis, rotateView=rotateView)