Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get variable value from HFSS model #48

Open
vegaonline opened this issue Aug 21, 2020 · 3 comments
Open

Get variable value from HFSS model #48

vegaonline opened this issue Aug 21, 2020 · 3 comments

Comments

@vegaonline
Copy link

vegaonline commented Aug 21, 2020

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 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 put() used in C++ sort of classes.

@zlatko-minev
Copy link
Owner

zlatko-minev commented Aug 21, 2020 via email

@vegaonline
Copy link
Author

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).

@zlatko-minev
Copy link
Owner

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: #45

You can you sign up / help spread the word to anyone you think would be interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants