Go to: Synopsis. Return value. MEL examples.
scriptToShelf (string $label, string $script, int $isMEL)
None
Variable Name | Variable Type | Description |
---|---|---|
$label | string | The label to give the new shelf item. |
$script | string | The script to be executed when the shelf item is clicked. |
$isMEL | int | whether the script is of type MEL or Python |
scriptToShelf ("Sel", "select -all", true);