Custom button in Schematic Editor?

Is there a way to create a custom button or menu item in the schematic editor?

I found a post from 2016 where the answer was no, but maybe things have changed?

What I ultimately want (with one button press) is to export a netlist, and run a python app with the netlist as input.

Hello and welcome @wouter_van_ooijen

I think the answer is still no, however, you are able to assign a “hotkey” to export a netlist.

See Preferences > Preferences > Hotkeys then scroll down to Symbol Editor.

Thanks, that is something, but it still requires a few actions (well, just two enters) in the export menu. Now if I could add a postprocessing script…

Unforunately the schematic editor is not customizable like that.

You can add a tab at least to the Netlist dialog that does what you say at least, (it generates netlist and runs your python script)

you can use

%P - project path,
%B - output name
%I - full netlist file path (this is the xml netlist)
%O - output path that user selected

1 Like

In addition to @marekr comment, your plugin code can run GUI’s, external App’s, Python codes…

Example runs some Python codes to run Stand-Alone python app’s. The other Plugin Icons run various Apps (including Java, SQL and Libre Office but not shown…).

These are run from the PCB plugins but, that doesn’t matter because you can run python coded (and other) App’s from the command field in Panel for the Generator…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.