The ability to generate any kind of text based netlist together with the macro feature makes it possible to integrate simulators into the user interface. This integration can simply be done by writing a short macro and adding it to the main menu of the SchematicEditor. For some common simulators a macro is shipped with the SchematicEditor and already added to the default main menu. The macro file itself is located in the macro folder and can be adjusted with the included TextEditor. The exact location of the macro folder depends on your platform (e.g. "/opt/layout" on most Linux systems, under "Program Files/LayoutEditor" on Windows and in the LayoutEditor application folder on Mac OS X). A macro set for these simulators is included:
LTspice IV is a free high performance Spice III simulator from Linear Technology. It is programmed for Microsoft Windows, but works well under Linux using Wine. It is shipped with a installer and will by default installation on drive C: in the Program Files folder. If you don't change this default path you can run the shipped LTspice macros without any setup. If you have installed it in a different location, please adjust the line f.filename="/your/LTspice/path"; in the macros. Please see the comments in the macros for further instructions. The shiped macros are added by default to the main menu of the SchematicEditor and TextEditor and are located under utilities/LTSpice. There are different macros: one to trigger the simulation with waveform viewer after simulation, trigger the simulation with text output and view only the netlist.
Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is based on three open source software packages: Spice3f5, Cider1b1 and Xspice. The simulator is GPL licensed and runs on most platforms. It is shipped as source code, but there are binary packages for Microsoft Windows and it is included in some Linux distributions. If it is shipped with your distribution the shipped macros will run without any adjustments. Also it will run on Windows without adjustment, if you uncompress it in the same folder level as your LayoutEditor installation (see below). Please check the file permissions, if you install it in the 'Program Files' folder. In all other cases you need to adjust the macro to your installation path. Three macros for ngspice are shipped: trigger the simulation with waveform viewer, trigger the simulation with text output and view only the ngspice netlist. You will find these macros at the menu item Utilities of the SchematicEditor and TextEditor.
As with LTspice and ngspice there are tree macros to trigger a Qucs simulation: trigger the simulation with waveform viewer, trigger the simulation with text output and view only the netlist. You will find these macros at the menu item Utilities of the SchematicEditor. In most cases you need to adjust a path in the macro to use it. Please see the comments inside the macro files for further instruction on adjusting the path.