Go to: Synopsis. Return value. Flags. Python examples.
buildBookmarkMenu(
string
, [editor=string], [type=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
buildBookmarkMenu is undoable, NOT queryable, and NOT editable.
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.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
editor(ed)
|
string
|
|||
|
||||
type(typ)
|
string
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can have multiple arguments, passed either as a tuple or a list. |
import maya.cmds as cmds # Update the bookmarkMenu to show animation (bookmarkAnimCurves) # bookmarks # cmds.menu( 'bookmarkMenu' ) cmds.buildBookmarkMenu( 'bookmarkMenu', type='bookmarkAnimCurves' )