KiCad PCB EDA Suite
dialog_export_netlist.cpp File Reference
#include <pgm_base.h>
#include <kiface_base.h>
#include <gestfich.h>
#include <widgets/wx_html_report_panel.h>
#include <sch_edit_frame.h>
#include <netlist.h>
#include <dialogs/dialog_export_netlist_base.h>
#include <wildcards_and_files_ext.h>
#include <invoke_sch_dialog.h>
#include <netlist_exporters/netlist_exporter_spice.h>
#include <eeschema_settings.h>
#include <schematic.h>
#include <paths.h>
#include <eeschema_id.h>
#include <wx/checkbox.h>
#include <wx/filedlg.h>
#include <wx/msgdlg.h>
#include <wx/regex.h>

Go to the source code of this file.

Classes

class  EXPORT_NETLIST_PAGE
 
class  DIALOG_EXPORT_NETLIST
 
class  NETLIST_DIALOG_ADD_GENERATOR
 

Macros

#define CUSTOMPANEL_COUNTMAX   8
 

Enumerations

enum  panel_netlist_index {
  PANELPCBNEW = 0 , PANELORCADPCB2 , PANELCADSTAR , PANELSPICE ,
  PANELSPICEMODEL , PANELCUSTOMBASE
}
 
enum  id_netlist {
  ID_CREATE_NETLIST = ID_END_EESCHEMA_ID_LIST + 1 , ID_CUR_SHEET_AS_ROOT , ID_SAVE_ALL_VOLTAGES , ID_SAVE_ALL_CURRENTS ,
  ID_SAVE_ALL_DISSIPATIONS , ID_RUN_SIMULATOR
}
 

Functions

int InvokeDialogNetList (SCH_EDIT_FRAME *aCaller)
 

Macro Definition Documentation

◆ CUSTOMPANEL_COUNTMAX

#define CUSTOMPANEL_COUNTMAX   8

Definition at line 58 of file dialog_export_netlist.cpp.

Enumeration Type Documentation

◆ id_netlist

enum id_netlist
Enumerator
ID_CREATE_NETLIST 
ID_CUR_SHEET_AS_ROOT 
ID_SAVE_ALL_VOLTAGES 
ID_SAVE_ALL_CURRENTS 
ID_SAVE_ALL_DISSIPATIONS 
ID_RUN_SIMULATOR 

Definition at line 194 of file dialog_export_netlist.cpp.

◆ panel_netlist_index

Enumerator
PANELPCBNEW 
PANELORCADPCB2 
PANELCADSTAR 
PANELSPICE 
PANELSPICEMODEL 
PANELCUSTOMBASE 

Definition at line 62 of file dialog_export_netlist.cpp.

62 {
63 PANELPCBNEW = 0, /* Handle Netlist format Pcbnew */
64 PANELORCADPCB2, /* Handle Netlist format OracdPcb2 */
65 PANELCADSTAR, /* Handle Netlist format CadStar */
66 PANELSPICE, /* Handle Netlist format Spice */
67 PANELSPICEMODEL, /* Handle Netlist format Spice Model (subcircuit) */
68 PANELCUSTOMBASE /* First auxiliary panel (custom netlists).
69 * others use PANELCUSTOMBASE+1, PANELCUSTOMBASE+2.. */
70};
@ PANELSPICEMODEL
@ PANELORCADPCB2
@ PANELCUSTOMBASE

Function Documentation

◆ InvokeDialogNetList()

int InvokeDialogNetList ( SCH_EDIT_FRAME aCaller)

Definition at line 822 of file dialog_export_netlist.cpp.

823{
824 DIALOG_EXPORT_NETLIST dlg( aCaller );
825
826 int ret = dlg.ShowModal();
827 aCaller->SaveProjectLocalSettings();
828
829 return ret;
830}
void SaveProjectLocalSettings() override
Save changes to the project settings to the project (.pro) file.

References SCH_EDIT_FRAME::SaveProjectLocalSettings().

Referenced by SCH_EDITOR_CONTROL::ExportNetlist().