Skip to content

Hfss3dLayout -- How to edit Port Excitations in PyAEDT? #5535

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

You must be logged in to vote

Hi @j4mag ,

You can use the method edit_source_from_file if you need a frequency-dependent Magnitude and phase.

or you can directly set the value:

app.excitation_objects["Port1"].properties["Magnitude"] = "2V"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Samuelopez-ansys
Comment options

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