pymel.core.animation.buildBookmarkMenu

buildBookmarkMenu(*args, **kwargs)

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

Flags:
Long name (short name) Argument Types Properties
editor (ed) unicode ../../../_images/create.gif
 
Name of the editor which this menu belongs toFlag can appear in Create mode of commandFlag 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

import maya.cmds as cmds

# 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