Open vegaonline opened 4 years ago
Yeah, this can be a nice interface.
We can check if HFSS iphyhon COM interface allows for getting just one variable. In any case can get full and then return one.
Sent from my iPhone
On Aug 21, 2020, at 4:30 AM, Abhijit Bhattacharyya notifications@github.com wrote:
The names of the variables cold be obtained from pinfo.get_all_variables_names() as set of strings. It would be nice to see a function like pinfo.getValue('var name') to return the value(s) of the variable name(s) of the HFSS model obtained from the previous command. This could be something like functions get() and set() used in C++ sort of classes.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I wanted to use get_variable_value(self, name)
function in class HfssProject(desktop, Project) from ansys.py. I had problem in getting handles for desktop which I tried to get from class HfssDesktop from the same ansys.py. The function get_variable_value()
has also set_variable(var, value)
.
Not sure I completely follow. You can post minimal working code if you want.
We will have a working group meeting for pyEPR soon:
Meeting signup link: https://forms.gle/oYsCjCMZLZtfrGuFA Discussion link: https://github.com/zlatko-minev/pyEPR/issues/45
You can you sign up / help spread the word to anyone you think would be interest.
The names of the variables could be obtained from
pinfo.get_all_variables_names()
as set of strings. It would be nice to see a function likepinfo.getValue('var name')
to return the value(s) of the variable name(s) of the HFSS model obtained from the previous command. This could be something like functions get() and put() used in C++ sort of classes.