Skip to content

Export AC RL matrix of Q3D Parametric results using the API: export_matrix_data #6014

Closed Answered by gmalinve
LuWan-dot asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LuWan-dot,

You can access your parametric setups in this way:
self.aedtapp.parametrics.setups
this will give you the list of your parametric setups.
You can get the one you are interested in by parsing by name for example.
[setup for setup in self.aedtapp.parametrics.setups if setup.name == my_setup_name]
If we suppose you have only one you can get your design variations as:

my_setup = self.aedtapp.parametrics.setups[0]
self.aedtapp.parametrics.setups[0].props["Sweeps"]["SweepDefinition"]

but I suggest you to use an IDE (like PyCharm) to debug and see what you can access.
For example this is my PyCharm evaluator:

You can see that in SweepDefinition you can access the design variation…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@LuWan-dot
Comment options

@EEnjk
Comment options

@Samuelopez-ansys
Comment options

@EEnjk
Comment options

@Samuelopez-ansys
Comment options

Comment options

You must be logged in to vote
1 reply
@LuWan-dot
Comment options

Answer selected by Samuelopez-ansys
Comment options

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