run recorded ironpython script through pyaedt #3025
-
Is it possible to run a script that is already wrirren in ironpython for aedt through pyaedt? |
Beta Was this translation helpful? Give feedback.
Answered by
Samuelopez-ansys
May 19, 2023
Replies: 1 comment 2 replies
-
Hi @AghHossein , Yes it is possible. You just need to change the equivalent pyaedt object for example: app = Hfss() oDesign = app.odesign And the variable oDesign will be equivalent to the Ironpython one. Please if you do dir(app) you will see all Ironpython objects inherited. Please close the comment if you think I solved it. Maybe this picture helps you (I created it 2 years ago, and maybe has changed something) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
AghHossein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @AghHossein ,
Yes it is possible. You just need to change the equivalent pyaedt object for example:
app = Hfss()
oDesign = app.odesign
And the variable oDesign will be equivalent to the Ironpython one. Please if you do dir(app) you will see all Ironpython objects inherited.
Please close the comment if you think I solved it.
Maybe this picture helps you (I created it 2 years ago, and maybe has changed something)