Integration between PyWorkbench and PyAEDT without reading a third script #203
Unanswered
ManuelMDVR
asked this question in
Q&A
Replies: 1 comment
-
@ManuelMDVR There isn't any function for connecting to PyAEDT in PyWorkbench. And you are right now mechanical, connect_to_mechanical is allowing users to use remotable pymechanical where you send string of mechanical script commands to mechanical for your automation. For AEDT, if Workbench allows using RunScript or SendCommand, I would recommend you use that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!

I am new to this, so I am facing some problems. My goal is to generate a script using pyworkbench and pyaedt, in which I'll read a Discovery geometry and its parameters, to then perform several a parametric study in Maxwell3D and connect the results to Mechanical, hence the initial idea of connecting through Workbench. However, from what I have seen, apparently there is no "connect_to_mechanical" equivalent for AEDT? And, even if there was, apparently connecting to Mechanical with "connect_to_mechanical" doesn't allow you to setup the Mechanical simulation directly, but makes you read a script in which the Mechanical simulation is defined, is that correct?
I have managed to launch a Workbench session in which I setup the Geometry and Maxwell3D components and connect them, but that has been through the run_script_file method. I would have expected to be able to do that through pyWorkbench directly, instead of reading a recorded journal?
Surely I'm missing something, I'd appreciate it if someone could provide some insight on this.
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions