Replies: 2 comments
-
|
from what is currently available in PyAEDT you can control basic plot creation, enable/disable scaling, and set min/max values. the arrow size can usually be handled via the API as well however, options like the GUI “Use Limits” toggle and “Vector Spacing” don’t seem to be directly exposed yet, at least in PyAEDT 0.14.x |
Beta Was this translation helpful? Give feedback.
-
|
Hi @aknsj , You will need to debug to know the parameters in advanced, because there are many and most of them are not wrapped in PyAEDT, like "MinMax" which belongs to the AEDT API, but as I said, debugging you will find all the parameters. For instance, in my previous code, you need first to update MinMax, to enable the Max and Min values, because if you try to update the values before updating, they will not be available yet (as you know, the default in AEDT is the AutoScale). Finally, you need to save the project before playing with the field settings, because right now is the only way to syncronize PyAEDT session and the available field plots. Regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have successfully loaded plot using the following code in a Python 3.11 environment with pyaedt 0.14.0.
However, I have a requirement to modify certain settings usingpyaedt, as shown below.
For instance: Firstly, within the Scale card, enable Use limits andset the Min and Max values; Secondly, adjust the Size slider within the
Arrow options box of the Marker/Arrow card; Thirdly, modify the Spacing slider in the Vector plot section of the Plots card.
I would be interested to learn whether pyaedt possesses these functions.Looking forward to your reply.
Beta Was this translation helpful? Give feedback.
All reactions