pymel.core.context.snapshotBeadCtx — PyMEL 1.0.7 documentation

pymel.core.context.snapshotBeadCtx

snapshotBeadCtx(*args, **kwargs)

Creates a context for manipulating in and/or out tangent beads on the motion trail

Flags:

Long Name / Short Name Argument Types Properties
exists / ex bool  
   
history / ch bool  
   
image1 / i1 unicode  
   
image2 / i2 unicode  
   
image3 / i3 unicode  
   
inTangent / i bool ../../../_images/query.gif ../../../_images/edit.gif
 
Indicates that we will be showing beads for the in tangent when entering the context
name / n unicode  
   
outTangent / o bool ../../../_images/query.gif ../../../_images/edit.gif
 

Indicates that we will be showing beads for the out tangent when entering the context Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.snapshotBeadCtx

Example:

import pymel.core as pm

# Create a snapshot bead context that will show in tangents
ctx = pm.snapshotBeadCtx(inTangent = True)
pm.setToolTo(ctx)