Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Automation with Lumapi and use of script commands › Reply To: Automation with Lumapi and use of script commands
Thank you for your reply. I have been working with Q and lowQ analysis objects with a micropillar cavity design. Strangely, I do not get the error consistently, hence I am unable to inform you more.
My current workflow is
1. Setup structure and add analysis and param sweeps using the CAD.Â
2. Then using the option "save to files" from sweep in the CAD.
3. Running them (generated fsp files) sequentially through Command prompt on Windows
4. Using a python script to open a new FDTD object for each fsp file of the sweep -> runanalysis() on it and extract data to save elsewhere.
This seems to work well without raising errors.