Units of Solution data #5143
-
Hi,
While this works well, I can't get the information about unit of the results. Is there any way to load the inductance unit information via code, or can I assume that the unit will always be [nH] by default (which is the unit in my case)? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @nikmarlo , you can get the units in 2 different ways. From the data directly: coupler.units_data I encourage you to debug your code, and do: dir(coupler) You will get all available properties. And also you can get the AEDT internal units: maxwell_2d.odesktop.GetDefaultUnit("Inductance") |
Beta Was this translation helpful? Give feedback.
Hi @nikmarlo , you can get the units in 2 different ways.
From the data directly:
coupler.units_data
I encourage you to debug your code, and do:
dir(coupler)
You will get all available properties.
And also you can get the AEDT internal units:
maxwell_2d.odesktop.GetDefaultUnit("Inductance")