Running Python codes inside SIwave

Which Python codes work properly within SIwave. Regular Python codes do not work.

If you run Python script within SIwave, it is better to use the IronPython codes. SIwave only knows oApp and oDoc kind of command. Example of a full code:

 

oApp.OpenProject('C:\...\Downloads\Four_phase_buck_SIwave_SMPS_solved.siw')
oDoc.Save()
oApp.CloseProject('C:\...\Downloads\Four_phase_buck_SIwave_SMPS_solved.siw')
oApp.Quit()