Go to: Synopsis. Return value. Flags. Python examples.
animView( string[] , [endTime=time], [maxValue=float], [minValue=float], [nextView=boolean], [previousView=boolean], [startTime=time])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
animView is undoable, queryable, and editable.
This command allows you to specify the current view range within an
animation editor.
None
In query mode, return type is based on queried flag.
endTime, maxValue, minValue,
nextView, previousView, startTime
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
# Look at the area between 0 and 5 seconds, and the range 0 - 100
cmds.animView( 'graphView', startTime='0sec', endTime='5sec', minValue=0, maxValue=100 )