pymel.core.animation.buildBookmarkMenu

static animation.buildBookmarkMenu(*args, **kwargs)

This command handles building the dynamicBookmark menu, to show all bookmarks (sets) of a specified type (sets -text) menuName is the string returned by the menucommand.

Flags:
Long name (short name) Argument Types Properties
editor (ed) unicode ../../../_images/create.gif
 
Name of the editor which this menu belongs to Flag can have multiple arguments, passed either as a tuple or a list.
type (typ) unicode ../../../_images/create.gif
 
Type of bookmark (sets -text) to display

Derived from mel command maya.cmds.buildBookmarkMenu

Example:

import pymel.core as pm

# Update the bookmarkMenu to show animation (bookmarkAnimCurves)
# bookmarks
#
pm.menu( 'bookmarkMenu' )
pm.buildBookmarkMenu( 'bookmarkMenu', type='bookmarkAnimCurves' )

Previous topic

pymel.core.animation.bufferCurve

Next topic

pymel.core.animation.buildKeyframeMenu

Core

Core Modules

Other Modules

This Page