The Ansys Innovation Space website recently experienced a database corruption issue. While service has been restored there appears to have been some data loss from November 13. We are still investigating and apologize for any issues our users may have as a result.

Ansys Learning Forum Forums Discuss Simulation Photonics Getting Sweep Data Reply To: Getting Sweep Data

Guilin Sun
Ansys Employee
All the necessary data from a sweep is automatically saved to the sweep output results. Please refer this example:
Parameter sweep utility
related examples are Creating nested parameter sweeps
AR Coating Sweep
If your sweep results are processed from the monitor data, it has to be done in analysis group or "model". However not every script command works inside them. You may need to consider getting the raw data from the monitor so you can use the regular script commands that work, and then do the post processing once the sweep is completed by use an independent script file as you did now.