Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 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)
Example #4
0
 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)