-
-
November 9, 2023 at 2:18 pmfabian.rufSubscriber
Hello,Â
I know that I can get a list of all names of sweeps by using "getsweepdata" without an argument. However, this will only return all sweeps for which there is data available.Â
How can I get a list of names of all sweeps including the ones which have not been run yet?
Thank you for your help!
All the best,
Fabian -
November 14, 2023 at 5:34 pmTaylor RobertsonAnsys Employee
Hello Fabian,
Â
This is a good question and after looking into this, I don't believe that there is a way to print the list of created unrun sweeps. All the scripts commands require you to know the names of the sweeps to query the properties you can set, but getsweepresult and getsweepdata do return the names of run sweeps. You may need to create the sweeps with a predetermined name; although runsweep with no argument does work to run all sweeps which would then allow you to get the names of the sweeps. If this is an important feature I would consider submitting afeature request- Â IX.
Â
Best Regards,
Â
-
November 15, 2023 at 6:30 amfabian.rufSubscriber
Thanks, Taylor. Yes, that is exactly what I concluded as well. Running all sweeps is often to costly, so predetermined names are my only solution so far.Â
All the best,
Fabian
-
- The topic ‘How can I access sweeps from scripting/python?’ is closed to new replies.
- Errors Running Ring Modulator Example on Cluster
- Difference between answers in version 2024 and 2017 lumerical mode solution
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- The two modes overlap the integral
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.