pymel.core.animation.animDisplay

animDisplay(*args, **kwargs)

This command changes certain display options used by animation windows. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
modelUpdate (upd) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

Controls how changes to animCurves are propagated through the dependency graph. Valid modes are “none”, “interactive” or “delayed”. If modelUpdate is “none” then changing an animCurve will not cause the model to be updated (change currentTime in order to update the model). If modelUpdate is “interactive” (which is the default setting), then as interactive changes are being made to the animCurve, the model will be updated. If modelUpdate is delayed, then the model is updated once the final change to an animCurve has been made. With modelUpdate set to either “interactive” or “delayed”, changes to animCurves made via commands will also cause the model to be updated.

refAnimCurvesEditable (rae) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

Specify if animation curves from referenced files are editable.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

timeCode (tc) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Controls whether the animation windows (time slider, graph editor and dope sheet) use time codes in their displays.
timeCodeOffset (tco) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

This flag has now been deprecated. It still exists to not break legacy scripts, but it will now do nothing. See the new timeCode command to set and query timeCodes.

Derived from mel command maya.cmds.animDisplay

Example:

import pymel.core as pm

import maya.cmds as cmds

# If the current time unit were ntsc (30 frames per
# second) frame 50 would be displayed as "00:00:01:20".
#
pm.animDisplay( timeCode=True )


# Set the display option so that interactive operations
# in the graph editor or dope sheet will cause the
# model views to be updated simultaneously
#
pm.animDisplay( modelUpdate="interactive" )

Previous topic

pymel.core.animation.animCurveEditor

Next topic

pymel.core.animation.animLayer

Core

Core Modules

Other Modules

This Page