pymel.core.context.rollCtx

rollCtx(*args, **kwargs)

Create, edit, or query a roll 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  
   
name (n) unicode  
   
rollScale (rs) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

In degrees of rotation per 100 pixels of cursor drag.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

toolName (tn) unicode  
   

Derived from mel command maya.cmds.rollCtx

Example:

import pymel.core as pm

import maya.cmds as cmds

pm.rollCtx( 'rollContext', rs=30.0 )

Previous topic

pymel.core.context.retimeKeyCtx

Next topic

pymel.core.context.roundCRCtx

Core

Core Modules

Other Modules

This Page