- Help Center
- Ansys HFSS
- Python
-
Getting Started With Ansys
-
Ansys Installation
-
Licensing
-
Ansys Mechanical
-
ANSYS AEDT
-
Ansys Maxwell
-
Ansys HFSS
-
Ansys CFD
-
CAD
-
Meshing
-
LS-Dyna & LS-Prepost
-
SpaceClaim
-
Ensight
-
Ansys Lumerical
-
Zemax
-
Discovery
-
AUTODYN
-
Workbench
-
Ansys EMC Plus
-
SIwave
-
CFD-Post
-
Ansys Sherlock
-
Q3D
-
Ansys 3D Layout
-
Fluent Meshing
-
Thermal Desktop
-
Icepak
-
Ansys Icepak
-
Twin Builder
-
Fluent
-
AEDT Circuit
-
EMA3D
-
Linux
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()