Replies: 2 comments 5 replies
-
@svandenb-dev @ring630 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@SebBerner below line doesn't make much sense to me. Can you draw the expected design manually? I can better understand what you want to achieve.
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For my workflow I would like to generate multiple traces, where the number of traces is controlled by a (design-) variable. My approach was to add a design or a project variable and use this in a for loop. Unfortunately this doesn't seem to work even though my variable works. Is there any workaround or it this a potantial issue in pyaedt/EDB API?
`edb = Edb("my_project.aedb", edbversion="2022.2")
edb.stackup.add_layer(layer_name="Top", material="copper", thickness="35um", layer_type="signal")
edb["$_points"] = 2
edb.add_design_variable(variable_name = "Length", variable_value = 4, is_parameter=False)
for i in range (0,int(edb["$_points"].value)):
edb.modeler.create_trace(layer_name='Top', width = 0.1, path_list=[[str(i)+'$_points',0],[str(i)+'$_points','Length']] )
edb.save_edb()
edb.close_edb()`
Thanks,
Seb
Beta Was this translation helpful? Give feedback.
All reactions