Replies: 3 comments 2 replies
-
@Dicksky From the description, I feel your question has got nothing to do with PyAEDT. You can reach out to Ansys Technical Support to determine what's going wrong in your simulations. |
Beta Was this translation helpful? Give feedback.
-
I don't know if the 'Save Fields and Mesh' will solve your problem, but here's how I figured out how to set the option: hfss.get_oo_name(aedt_object=hfss.ooptimetrics) will give you the names of the parametric setups you have in your design hfss.get_oo_properties(aedt_object=hfss.ooptimetrics,object_name='nameofparametricsetup') will give you the property names for PyAEDT, they often aren't the same as what is shown in the AEDT GUI. hfss.get_oo_property_value(aedt_object=hfss.ooptimetrics, object_name='nameofparametricsetup', prop_name='SaveFields') gives you the current value of the 'Save Fields and Mesh' setting hfss.set_oo_property_value(aedt_object=hfss.ooptimetrics, object_name='nameofparametricsetup', prop_name='SaveFields', value='True') will enable 'Save Fields and Mesh' |
Beta Was this translation helpful? Give feedback.
-
I ended up using the following command to enable saving fields in a parametric setup:
hfss.set_oo_property_value(aedt_object=hfss.ooptimetrics, object_name="Parametric _Setup_Name", prop_name='SaveFields', value='True')
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: weblyang ***@***.***>
Sent: Saturday, February 8, 2025 5:15:06 AM
To: ansys/pyaedt ***@***.***>
Cc: Perkins, Bill ***@***.***>; Comment ***@***.***>
Subject: Re: [ansys/pyaedt] How can I do 'Save Fields and Mesh' in HFSS Optimetrics using PyAEDT? (Discussion #4663)
When using PyAEDT to add a Parametric setup, the default setting for "Save Fields and Mesh" is disabled.
I tried the function
hfss.get_oo_property_value(aedt_object=hfss.ooptimetrics, object_name='nameofparametricsetup', prop_name='SaveFields'),
and it returned False(not error), which matches the actual state in HFSS where "Save Fields and Mesh" is still not enabled.
Have you found a new way to enable "Save Fields and Mesh"?
—
Reply to this email directly, view it on GitHub<#4663 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCETRGACN63DAIZJO5UL7PL2OXKKVAVCNFSM6AAAAABWXQ4632VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJQGIYDSNQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
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 am using HPC with the Slurm system to run my HFSS simulations, sometimes after running HPC doesn't give me any results if the convergence criterion is not fulfilled, I want to see the result of the last iteration, will the 'Save Fields and Mesh' function solve the problem? And how can I do it using PyAEDT?
Beta Was this translation helpful? Give feedback.
All reactions