TAGGED: CML-Libraries, interconnect
-
-
July 27, 2021 at 4:22 pmgopikrishnangmSubscriber
Hi Lumerical
I was going through the beginners tutorial regarding building custom CML (https://support.lumerical.com/hc/en-us/articles/360037141714).
In step 4 " updating the XML data file using generate_template_xml.py" after changing the python script when I run the script I get an error message "line 46, in
if globalgroup_list: NameError: name 'globalgroup_list' is not defined". The instructions in step 4 ask to remove the statistical information part of the python code and so there is no globalgroup_list variable to execute the if statement under the "# do not modify" set of commands.
Could you let me know how this can be fixed?
July 28, 2021 at 2:32 amKyleAnsys 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 = []
July 28, 2021 at 4:15 pmgopikrishnangmSubscriberHi kjohnson
thank you for the solution!
Gopi
Viewing 2 reply threads- The topic ‘Doubt regarding CML “generate_template_xml.py”’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
Top Contributors-
1411
-
599
-
591
-
555
-
366
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-