"You will be prompted with variable name and value in a single dialouge box.
Enter the variable name upto 32 chars long.
Enter the variable value upto 128 chars long. Value can be numeric or string. No need to enter quotes for string.
On clicking enter this script will set the variable name with the value in ANSYS properly either as a nummeric or string." [permalink]
Example of use of Tcl/Tk to bring up custom dialog box to import parasolid files. This could be used in an input file to automatically prompt the user to import a particular parasolid file through a dialog box. It can be easily extended to include any Connection Kit product (ACIS/SAT, Pro/E, UG, CATIA, etc.). [permalink]
"Below you will find a little macro that can be run to fix the more common issues with focus on the command line not behaving as expected at 6.1. It is a partial hack that needs to be run after the GUI is up, so you can't put it in your start61.ans file (sorry). It also does not fix focus loss with the picker (which is intentional) or the pan-zoom-rotate dialog (not so intentional). Those will require more than a simple Tcl/Tk script." [permalink]
Macro to write arrays to file. This macro actually uses Tcl/Tk to write another macro, which is then invoked. [permalink]
Average Rating: 8.9 (9 votes)
all pages manually coded in PHP/MySQL & HTML/CSS with a text editor
utilizes (possibly valid) HTML 4.01, CSS 2.0, RSS 2.0, and OpenSearch 1.1
site created & maintained by sheldon imaoka
ANSYS, ANSYS Workbench, Ansoft, AUTODYN, CFX, EKM, Engineering Knowledge Manager, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are trademarks or registered trademarks of ANSYS, Inc. or its subsidiaries located in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their respective owners.