pymel.core.context.panZoomCtx

panZoomCtx(*args, **kwargs)

This command can be used to create camera 2D pan/zoom context.

Flags:
Long name (short name) Argument Types Properties
alternateContext (ac) bool  
   
buttonDown (btd) bool  
   
buttonUp (btu) bool  
   
exists (ex) bool  
   
history (ch) bool  
   
image1 (i1) unicode  
   
image2 (i2) unicode  
   
image3 (i3) unicode  
   
name (n) unicode  
   
panMode (pm) bool ../../../_images/create.gif
 
Specify to create a camera 2D pan context, which is the default.
toolName (tn) unicode  
   
zoomMode (zm) bool ../../../_images/create.gif
 
Specify to create a camera 2D zoom context. Flag can have multiple arguments, passed either as a tuple or a list.
zoomScale (zs) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Scale the zoom. The smaller the scale the slower the drag.

Derived from mel command maya.cmds.panZoomCtx

Example:

import pymel.core as pm

pm.panZoomCtx( 'panZoomContext', zs=1.0 )
# Result: u'panZoomContext' #

Previous topic

pymel.core.context.orbitCtx

Next topic

pymel.core.context.paramDimContext

Core

Core Modules

Other Modules

This Page