Layout​Script

LayoutScript is the scripting interface to the LayoutEditor and the SchematicEditor. Three different kinds of scripting are possible:

  • Macros with C++-Script: Macros with C++-Scripts is the buld in scripting interface. With macros you have full access to the design data as well as all features to modifiy. Also you can adjust the graphical user interface of the LayoutEditor. All modifications you do with macros will immediately be displayed in the opened LayoutEditor window.
  • Scripting in Python: LayoutScript for Python is a Python extension module to open, modify and save layout and schematic designs. Python will always run in a separate instance, even if called form the main LayoutEditor application. So you always need to store the results to disk within Python and need to load it into the LayoutEditor to see the results graphical. With LayoutScript for Python you have access to all features to modify the layout and schematic, but cannot output the graphical display. LayoutScript for Python can be combined with any other existing extension module for Python.
  • Scripting in Ruby: LayoutScript for Ruby is identical to LayoutScript for Python except it is for the scripting language Ruby.

Scripting is available in the full version of the LayoutEditor. With the free version without a license key storing to some file formats is limited to small designs.

text-editor for LayoutScript