From version 5, SIMetrix allows the complete customisation of toolbars. You can modify the definitions of existing toolbars and buttons, as well as create new toolbars and new tool buttons. This section explains how.
In this topic:
You can rearrange the button layout of existing toolbars by modifying the 'Set' option variables that define them. In the case of the schematic component buttons, this can be done via a simple GUI. See menu View|Configure Toolbar... .
'Set' Variable Name | Toolbar |
ComponentButtons | SimetrixSchemToolBar |
SIMPLISComponentButtons | SimplisSchemToolBar |
SchematicMainButtons | SimetrixSchemToolBar and SimplisSchemToolBar |
SchematicFileButtons | SimetrixSchemToolBar |
SchematicFileButtonsSIMPLIS | SimplisSchemToolBar |
SchematicProbeButtons | SimetrixSchemToolBar and SimplisSchemToolBar |
GraphMainButtons | GraphMain |
SymbolFileButtons | SymbolMain |
SymbolMainButtons | SymbolMain |
Show GetOption('SchematicFileButtons')will display in the message window the current definition for the SchematicFile tool bar.
You can then use the Set command to add a new button.
Unset SchematicFileButtonswill restore the schematic file toolbar to just three buttons without the new schematic button.
Any changes made using the Set command will not take place until you restart SIMetrix/SIMPLIS. If desired you can force a rebuild of the toolbar for each window type by executing the following built-in scripts:
Schematic | update_schematic_toolbar |
Symbol editor | update_symbol_toolbar |
Graph | update_waveform_toolbar |
DefButton NMOS4 "inst /ne my_nmos"redefines the four-terminal NMOS button to place a symbol with name my_nmos.
You can redefine any of the pre-defined buttons. See Pre-defined Buttons for a complete list.
You can define completely new buttons with your own graphic design and add them to an existing toolbar. The same method can also be used to redefine the graphics for existing buttons.
CreateToolButton /class component diffres diffres.png "Place Diffused Resistor"(This must all be on one line) This will create a button called 'diffres' that we will refer to in the following steps. The switch /class component identifies the button as one that places a component and so will be listed in the GUI based system to edit component toolbars. (See schematic menu View|Configure Toolbar...) . This will make adding the button to a component toolbar a simple operation.
DefButton diffres "inst /ne diffressym"where diffressym is the name of the schematic symbol created for the diffused resistor.
To create a completely new toolbar, use the command CreateToolBar. This will create an empty toolbar.
To add buttons to a new toolbar, you must use the command DefineToolBar. You can add both pre-defined and user-defined buttons to a custom toolbar.
The following table lists all the buttons that are pre-defined. All of these buttons may be redefined if required.
The bitmaps are embedded in the SIMetrix binary, but can also be found on the install CD in the directory script/images.
Button name | Description | Bitmap |
AsciiFileEditorClose | Close Ascii File | close.png |
AsciiFileEditorNew | New SIMetrix Schematic | filenew.png |
AsciiFileEditorOpen | Open Ascii File | open.png |
AsciiFileEditorSave | Save Ascii File | save.png |
BiasV | Place Bias Marker | biasv.png |
CalcAveragePower | Display Average Power/Cycle | avg.png |
CalcFall | Display Fall Time | falltime.png |
CalcHighPass3db | Display -3dB Point (High Pass) | 3dbhighpass.png |
CalcLowPass3db | Display -3dB Point (Low Pass) | 3dblowpass.png |
CalcRise | Display Rise Time | risetime.png |
CalcRMS | Display RMS/Cycle | rms.png |
Capacitor | Place Capacitor | capacitor.png |
Copy | Duplicate | copy.png |
Delete | Cut | cut.png |
DeleteAllCurves | Delete All Curves | deleteall.png |
DeleteAxis | Delete Axis/Grid | delgrid.png |
DeleteCurve | Delete Curve | delete.png |
Detach | Detach | detach.png |
Diode | Place Diode | diode.png |
Flip | Flip | flip.png |
GraphClose | Close Graph | fileclose.bmp |
GraphNew | New Graph | filenew.png |
GraphNewCurve | Add Curve | newcurve.png |
GraphNewFourier | Add Fourier Spectrum Plot | newfourier.png |
GraphOpen | Open Graph | fileopen.bmp |
GraphSave | Save Graph | filesave.bmp |
Ground | Place Ground | ground.png |
HideCurves | Hide Selected Curves | hide.png |
IGBT | Place IGBT | igbt.png |
Inductor | Place Inductor | inductor.png |
IProbe | Place Current Probe | iprobeplaced.png |
IProbeInteractive | Probe Pin Current (interactive) | iprobe.png |
ISource | Place Current Source | isource.png |
LogicDefinitionEditorClose | Close Logic Definition | close.png |
LogicDefinitionEditorNew | New SIMetrix Schematic | filenew.png |
LogicDefinitionEditorOpen | Open Logic Definition | open.png |
LogicDefinitionEditorSave | Save Logic Definition | save.png |
Mirror | Mirror | mirror.png |
MoveCurve | Move Curve to Selected Axis/Grid | movecurve.png |
NetlistEditorClose | Close Netlist | close.png |
NetlistEditorNew | New SIMetrix Schematic | filenew.png |
NetlistEditorOpen | Open Netlist | open.png |
NetlistEditorSave | Save Netlist | save.png |
NetlistRun | Run SIMetrix Netlist | run.png |
NewAxis | New Axis | newaxis.png |
NewCurve | Add Curve | newcurve.png |
NewFourier | Add Fourier Spectrum Plot | newfourier.png |
NewGrid | New Grid | newgrid.png |
NJFET | Place N-channel JFET | njfet.png |
NMOS3IC | Place 3 term N-channel MOSFET | nmos_ic3.png |
NMOS4 | Place 4 term N-channel MOSFET | nmos_ic.png |
NMOS | Place N-channel MOSFET | nmos.png |
NPN | Place NPN Transistor | npn.png |
Opamp | Place Opamp | opamp.png |
PJFET | Place P-channel JFET | pjfet.png |
PMOS3IC | Place 3 term P-channel MOSFET | pmos_ic3.png |
PMOS4 | Place 4 term P-channel MOSFET | pmos_ic.png |
PMOS | Place P-channel MOSFET | pmos.png |
PNP | Place PNP Transistor | pnp.png |
print.png | ||
PSU | Place PSU | psu.png |
Redo | Redo | redo.png |
Resistor | Place Resistor (Box shape) | resistor.png |
ResistorZ | Place Resistor (Z shape) | resz.png |
Rotate | Rotate | rotate.png |
SatInd | Place Saturable Inductor | sat_ind.png |
SatTx | Place Saturable Transformer | tx_sat.png |
SchemClose | Close Schematic | close.png |
SchemFind | Search | find.png |
SchemNew | New SIMetrix Schematic | filenew.png |
SchemOpen | Open Schematic | open.png |
SchemSave | Save Schematic | save.png |
SchemSaveAll | Save All Schematics | saveall.png |
SCR | Place Thyristor | scr.png |
ScriptEditorClose | Close Script | close.png |
ScriptEditorNew | New SIMetrix Schematic | filenew.png |
ScriptEditorOpen | Open Script | open.png |
ScriptEditorSave | Save Script | save.png |
ScriptRun | Run Script | run.png |
ShellNewSchem | New Schematic | filenew.png |
ShowCurves | Show Selected Curves | show.png |
SIMextrixOptions | Options | options.png |
SimPause | Pause Simulation | pause.png |
SIMPLISOptions | SIMPLIS Options | simplis_options2.png |
SimRunSchem | Run Schematic | run.png |
SymbolClose | Close Symbol | close.png |
SymbolCut | Cut Selected | cut.png |
SymbolDetach | Detach Selected | detach.png |
SymbolDuplicate | Duplicate Selected | copy.png |
SymbolFlip | Flip Selected | flip.png |
SymbolMirror | Mirror Selected | mirror.png |
SymbolNew | New Symbol | filenew.png |
SymbolOpen | Open Symbol | open.png |
SymbolRedo | Redo | redo.png |
SymbolRotate | Rotate Selected | rotate.png |
SymbolSave | Save Symbol | save.png |
SymbolUndo | Undo | undo.png |
SymbolWireMode | Segment Mode | pencil.png |
SymbolZoomBox | Zoom to Rectangle | zoomrect.png |
SymbolZoomIn | Zoom In | zoomin2.png |
SymbolZoomOut | Zoom Out | zoomout2.png |
TextEditorClose | Close Text | close.png |
TextEditorNew | New SIMetrix Schematic | filenew.png |
TextEditorOpen | Open Text | open.png |
TextEditorSave | Save Text | save.png |
TitleCurve | Change Curve Name | curvetitle.png |
TL | Place Transmission Line | tl.png |
Tx | Place Transformer | tx.png |
Undo | Undo | undo.png |
UndoZoom | Undo Zoom | undo.png |
VerilogAEditorClose | Close Verilog-A | close.png |
VerilogAEditorNew | New SIMetrix Schematic | filenew.png |
VerilogAEditorOpen | Open Verilog-A | open.png |
VerilogAEditorSave | Save Verilog-A | save.png |
VerilogHDLEditorClose | Close Verilog HDL | close.png |
VerilogHDLEditorNew | New SIMetrix Schematic | filenew.png |
VerilogHDLEditorOpen | Open Verilog HDL | open.png |
VerilogHDLEditorSave | Save Verilog HDL | save.png |
VProbe | Place Voltage Probe | vprobeplaced.png |
VProbeInteractive | Probe Voltage (interactive) | vprobe.png |
VSource | Place Voltage Source | vsource.png |
Waveform | Place Waveform Generator | vsig.png |
WebBack | Back | back.png |
WebForward | Forward | forward.png |
WebNew | New SIMetrix Schematic | filenew.png |
WebReload | Reload | reload.png |
WebSIMextrixOptions | options.png | |
WebSIMPLISOptions | simplis_options2.png | |
WebStop | Stop | stop.png |
Wire | Wire Mode | pencil.png |
Zener | Place Zener Diode | zener.png |
ZoomFull | Zoom to Fit | zoomfull.png |
ZoomFullGraph | Fit Window | zoomfull.png |
ZoomIn | Zoom In | zoomin2.png |
ZoomOut | Zoom Out | zoomout2.png |
ZoomRect | Zoom Box | zoomrect.png |
ZoomXAuto | Fit Width | zoomwidth.png |
ZoomYAuto | Fit Height | zoomheight.png |
◄ Schematic Template Scripts | Custom Dialog Boxes ▶ |