get_antenna_data() #6121
-
Hi, did somebody get get_antenna_data() to work? I tried severals examples from the docs with 25R1 with no success. AEDT throws a lot of errors. My code so far is:
The most prominent error is probably "raise Exception("Wrong farfield file load"). Thanks for your answer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @georgmichel , could you please share the project? This example is working: Please check you do not have variations before calling the method: variations = app.available_variations.get_independent_nominal_values() Finally, I guess the freq units of your AEDT is not Hz, if your AEDT units are GHz, then you must pass the frequency in AEDT units. You could also get the available frequencies beforehand (the method is doing it internally if the user does not pass any freq)
|
Beta Was this translation helpful? Give feedback.
Hi @georgmichel , could you please share the project?
This example is working:
https://examples.aedt.docs.pyansys.com/version/dev/examples/high_frequency/antenna/array.html
Please check you do not have variations before calling the method:
variations = app.available_variations.get_independent_nominal_values()
Finally, I guess the freq units of your AEDT is not Hz, if your AEDT units are GHz, then you must pass the frequency in AEDT units. You could also get the available frequencies beforehand (the method is doing it internally if the user does not pass any freq)