Go to: Synopsis. Return value. Flags. Python examples.
animView(
string[]
, [endTime=time], [maxValue=float], [minValue=float], [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.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
startTime(st)
|
time
|
|||
|
||||
endTime(et)
|
time
|
|||
|
||||
minValue(min)
|
float
|
|||
|
||||
maxValue(max)
|
float
|
|||
|
||||
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 )