Skip to content

Attribute inaccessible for some reason #4050

Closed Answered by Samuelopez-ansys
StotreB asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @StotreB ,

Not sure what you are trying to achieve, but excitations_by_type is a property of the design, you can directly access to the data:

aedtapp.excitations_by_type

or if you know the type of excitation:

aedtapp.excitations_by_type["Coil"]

If it does not work, maybe is because you are using an excitation that is not covered by PyAEDT yet. So please, share more information regarding the Q3D project (you can even attach it here), and the snipped code to reproduce the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Samuelopez-ansys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants