-
Notifications
You must be signed in to change notification settings - Fork 134
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
Issue with Setup.props
Attribute in HFSS Models Containing Encrypted Components
#5691
Comments
In the case of an encrypted model:
Single Frequency Solve Type:For models with a single frequency solve type, the solution frequency can be retrieved using the properties attribute, as highlighted in this comment (Link). Multiple Frequency Solve Type:For models with a multiple frequency solve type, the solution frequency is represented as "Multiple" as shown below. Unfortunately, in such cases, we are unable to retrieve specific frequency values even using the properties attribute.
|
Hi @gmalinve, I hope you’re doing well! I’m following up on this issue. After conducting further testing and research, I’ve summarized my observations in a structured manner. Your insights on this would be greatly appreciated whenever you have a moment. Objective:My primary goal is to automate the generation and export of field plots using PyAEDT. To achieve this, I use the I had assumed it would be possible to retrieve all available frequencies programmatically using PyAEDT, as displayed in the "Create Field Plot" GUI window (illustrated in the figure). However, I noticed some inconsistencies in accessing these frequencies under different scenarios. Observations:I rely on the
Key Observations:
Is there any alternative way to retrieve the frequencies using PyAEDT? Your feedback would be invaluable. Thank you for your time and support! Test Data:All the models can be downloaded from the link, folder structure is shown below:
|
Before submitting the issue
Description of the bug
Hi, I am working with two HFSS models where the Solve Type is set to Multiple Frequencies. The only difference between the two models is:
Both models can be downloaded from the link, folder structure is shown below:
I aim to create field plots and export them for individual objects. Below is the code snippet I am using:
Issue:
The code works perfectly for the unencrypted model. However, when used with the encrypted model, the code fails at line 23, specifically when accessing the
prj.setups[0].props
attribute of the setup object.Observations:
When an encrypted component is present in the model, the
prj.setups[0].props
attribute returns empty dictionary instead of the expected dictionary containing the setup properties (documentation_link).This prevents retrieval of available frequencies and subsequently breaks any Python scripts that rely on
prj.setups[0].props
for post-processing.This behavior has been consistently observed across multiple HFSS models with encrypted components.
Questions:
Your guidance on this issue would be greatly appreciated.
Thank you
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
The text was updated successfully, but these errors were encountered: