The Graphical User Interface (GUI) for ANSYS Mechanical APDL is written in a toolset called Tcl/Tk. This is actually the same GUI toolset that ICEM CFD uses. Way back in the days when dinosaurs roamed the earth and the .com bubble was bursting, PADT wrote and Advanced Customization class for what was then just called ANSYS. We still use a large portion of that class today, but one area that has really been mothballed is the chapter on Tcl/Tk.
But some users may find some value there so we present it here, in its un-edited and un-verified totality as a resource for the community.
Use it with success, but at your own risk.