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 Doubt regarding CML “generate_template_xml.py” Reply To: Doubt regarding CML “generate_template_xml.py”

Kyle
Ansys Employee

I believe there may be a mistake in this script, I will look into this and get back to you. To fix this, you can add empty globalgroup_list, corrgroup_list, and corner_list lists to the beginning of the script, so these if statements evaluate to false:
globalgroup_list = []
corrgroup_list = []
corner_list = []