This script creates a netlist file and a log file from the schematic picked by user. AWR did not write this script for any specific application, it is just a general purpose script.
Note: Subcircuits that are EM structures or Data Files are written in the netlist but a subcircuit is not created for them. A warning is written into the netlist.
Here is example of a schematic with three subcircuits, one is data file and the other two are schematics:
After running the script, the user will pick the schematic and location to save the resulting netlist file:
Here is what resulting netlist will look like. Notice the warning message because of datafile subcircuit.