How to set the nested sweep in an optimization using script?

I create a nested sweep in optimization using the script. But I find that it is hard to set the nested sweep using the script.
image
setsweep(“sweep”, “name”, “inputangle_sweep”);
It doesn’t work.
Could anyone help me ?

Hi @makeqi

Please try something like below:

addsweep(1);
insertsweep("optimization");
setsweep("optimization::sweep","name","thickness");
setsweep("optimization::thickness","number of points",10);

You need to give the full address to the sweep using “optimization::sweep”.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.