From b811557db8cf6f75fe8633aa5a0b09df032d61d4 Mon Sep 17 00:00:00 2001 From: komalsheth236 Date: Sat, 29 Aug 2015 12:42:29 +0530 Subject: Changes in ac Source Details --- src/kicadtoNgspice/KicadtoNgspice.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kicadtoNgspice/KicadtoNgspice.py') diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py index 87616a3d..7351138e 100644 --- a/src/kicadtoNgspice/KicadtoNgspice.py +++ b/src/kicadtoNgspice/KicadtoNgspice.py @@ -308,6 +308,8 @@ class MainWindow(QtGui.QWidget): if words[len(words)-1]=="ac": #attr_ac=ET.SubElement(attr_var,"ac") ET.SubElement(attr_var,"field1",name="Amplitude").text=str(obj_source.entry_var[count].text()) + count=count+1 + ET.SubElement(attr_var, "field2", name = "Phase").text = str(obj_source.entry_var[count].text()) count=count+2 elif words[len(words)-1]=="dc": #attr_dc=ET.SubElement(attr_var,"dc") -- cgit