diff options
Diffstat (limited to 'OSCAD/forntEnd/newProject.py')
-rwxr-xr-x[-rw-r--r--] | OSCAD/forntEnd/newProject.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OSCAD/forntEnd/newProject.py b/OSCAD/forntEnd/newProject.py index 38018bb..f4987f1 100644..100755 --- a/OSCAD/forntEnd/newProject.py +++ b/OSCAD/forntEnd/newProject.py @@ -21,8 +21,6 @@ import selectOption from string import maketrans from PIL import Image, ImageTk - - class ProjectInfo(template.MyTemplate): """ Class for accept model information from user """ def body(self, master): @@ -318,6 +316,16 @@ class ProjectParam(template.MyTemplate): self.text.insert(END, "Select a tool from tool menu\n") self.text.yview(END) + # opening pythonplotting: + command ="python " + self.OSCAD_HOME+"/forntEnd/pythonPlotting.py "+os.getcwd()+" "+self.projectName + + try: + thread.start_new_thread(self.call_system,(command,)) + except Exception,err: + print err + + + def openSMCSim(self,e=None): self.text.insert(END, " Running scilab based circuit simulator .........\n") self.text.yview(END) |