As of release 4.10, Avalanche no longer supports exporting a GUI based test to the legacy TCL API.
This is documented in the attached release notes under the "Behavior Differences" section which states, "With the introduction of the Next Generation Tcl API, converting scripts from GUI to Tcl for Legacy Tcl is no longer supported"