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 = []