We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

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

Raksha Singla
Subscriber

Hello Taylor R.,

I investigated a bit more and now understand the reason for runanalysis failures with Lumapi. Perhaps, the API could be improved on error messages.

Here is the situation, If there are multiple analysis objects and if some are disabled or any of them fails to run properly -

 1. partial execution occurs on CAD (clicking on run analysis button)

2. using the API and running from python fails and exits the code without giving much information on which object failed. 

I am not sure if it is related to the order in which the analysis groups are added to the simulation or not.