This command handles building the “dynamic” Keyframe menu, to show attributes of currently selected objects, filtered by the current manipulator. menuName is the string returned by the “menu” command. The target menu will entries appended to it (and deleted from it) to always show what’s currently keyframable.
Derived from mel command maya.cmds.buildKeyframeMenu
Example:
import pymel.core as pm
import maya.cmds as cmds
# Set up "myAttributeMenu" as a menu to always
# reflect what's currently keyframable.
#
pm.buildKeyframeMenu( 'myAttributeMenu' )
pymel.core.animation.buildBookmarkMenu
pymel.core.animation.character
Enter search terms or a module, class or function name.