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 | ||
---|---|---|---|---|
type(typ)
|
string
|
![]() |
||
|
||||
editor(ed)
|
string
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Update the bookmarkMenu to show animation (bookmarkAnimCurves) # bookmarks # cmds.menu( 'bookmarkMenu' ) cmds.buildBookmarkMenu( 'bookmarkMenu', type='bookmarkAnimCurves' )