pymel.core.animation.animView¶
- animView(*args, **kwargs)¶
This command allows you to specify the current view range within an animation editor. In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name Argument Types Properties endTime / et time End time to display within the editor maxValue / max float Upper value to display within the editor minValue / min float Lower value to display within the editor nextView / nv bool Switches to the next view. previousView / pv bool Switches to the previous view. startTime / st time Start time to display within the editor Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.animView
Example:
import pymel.core as pm # Look at the area between 0 and 5 seconds, and the range 0 - 100 pm.animView( 'graphView', startTime='0sec', endTime='5sec', minValue=0, maxValue=100 )