Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

buildBookmarkMenu [-editor string] [-type string] string

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.

Return value

None

Flags

editor, type
Long name (short name) Argument types Properties
-editor(-ed) string create
Name of the editor which this menu belongs to
-type(-typ) string create
Type of bookmark (sets -text) to display

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 be used more than once in a command.

MEL examples

// Update the bookmarkMenu to show animation (bookmarkAnimCurves)
// bookmarks
//
menu bookmarkMenu;
buildBookmarkMenu -type bookmarkAnimCurves bookmarkMenu;