pymel.core.context.orbitCtx — PyMEL 1.0.7 documentation

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.nexQuadDrawCtx

Next topic

pymel.core.context.panZoomCtx

Core Modules

Type Modules

Other Modules

This Page