Replies: 1 comment
-
Hi @em-jim, It is not possible right now to set this property. I have tested to do it manually and even the recorded script is not working, please could you test it? If it fails, you will need to submit first a defect to Ansys development firts. If it works, please share the project and script, and we will try to implement it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Created an IronPython script to start. Now I want to convert this to CPython with PyAEDT.
The problem is I can;t find the PyAEDT method in the EDB API for this.
i.e.
oDesign.ChangePortProperty
Example IronPython script:
![AEDT_circuit_port_imp_from_HFSS_simulation](https://private-user-images.githubusercontent.com/121181102/249256823-7f91f7cf-f64a-496c-be77-e4ceb176709c.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NDQzOTcsIm5iZiI6MTczOTU0NDA5NywicGF0aCI6Ii8xMjExODExMDIvMjQ5MjU2ODIzLTdmOTFmN2NmLWY2NGEtNDk2Yy1iZTc3LWU0Y2ViMTc2NzA5Yy5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQxNDQxMzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02YWRkMWJlODg3ZDdjZDdlOTc5MWVhYTNjZjliMWYzNzk0NmNhZTA0NmJhOGE2OWQ4NzUyOGMwZGE4MTk1NDgzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.k8ZbVqte4AkhlGh1JDMdS62dNtuko2M52nxL1qep5fI)
#==============================================
oDesign.ChangePortProperty("Port1",
[
"NAME:Port1",
"IIPortName:=" , "Port1",
"SymbolType:=" , 0,
"DoPostProcess:=" , False
],
[
[
"NAME:Properties",
[
"NAME:NewProps",
[
"NAME:term",
"PropType:=" , "TextProp",
"OverridingDef:=" , True,
"Value:=" , "Design3"
]
],
[
"NAME:ChangedProps",
[
"NAME:TerminationData",
"Value:=" , "Zo"
],
[
"NAME:pnum",
"Value:=" , "1"
],
[
"NAME:EnableNoise",
"Value:=" , False
],
[
"NAME:noisetemp",
"Value:=" , "16.85cel"
#==============================================
Please provide suggestions for using PyaEDT to change the circuit port properties to point the port impedance to the imported HFSS solution port impedance.
Beta Was this translation helpful? Give feedback.
All reactions