pymel.core.context.orbitCtx

orbitCtx(*args, **kwargs)

Create, edit, or query an orbit context.

Flags:
Long name (short name) Argument Types Properties
alternateContext (ac) bool  
   
exists (ex) bool  
   
history (ch) bool  
   
image1 (i1) unicode  
   
image2 (i2) unicode  
   
image3 (i3) unicode  
   
localOrbit (lo) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Orbit around the camera’s center of interest. Flag can have multiple arguments, passed either as a tuple or a list.
name (n) unicode  
   
orbitScale (os) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
In degrees of rotation per 100 pixels of cursor drag.
toolName (tn) unicode  
   

Derived from mel command maya.cmds.orbitCtx

Example:

import pymel.core as pm

pm.orbitCtx( 'orbitContext', os=30.0, lo=False )
# Result: u'orbitContext' #

Previous topic

pymel.core.context.mpBirailCtx

Next topic

pymel.core.context.panZoomCtx

Core

Core Modules

Other Modules

This Page