CreateToolBar

Creates a new empty toolbar. To add buttons to the toolbar use command DefineToolBar.

CreateToolBar <window-name> <toolbar-name>

Parameters

window-name

Name of window where toolbar is to reside. Must be one of:

CommandShell Command shell window
Schematic Schematic windows
Symbol Symbol editor windows
Graph Graph windows

toolbar-name

User assigned name for toolbar. You can use any name that doesn't clash with a pre-defined toolbar name as defined in the table below. The name must not contain spaces. Pre-defined toolbars are:

CommandShellMain Command Shell toolbar
SchematicMain Main schematic toolbar
SchematicFile Schematic file operations toolbar
SchematicComponents Schematic component toolbar (SIMetrix mode)
SIMPLISComponents Schematic components toolbar (SIMPLIS mode)
SymbolMain Symbol editor toolbar
GraphMain Graph window toolbar

This name is used to reference the tool bar in the DefineToolBar command.

See Also