TK script text variable: user input
Hello,
in the below script, am trying to get the input from text variable. But everytime its throwing error and unable to rectify.
in the below script, highlighted in bold (w) is the user input. Can anyone help?
Find more posts tagged with
In Hypermesh customization, I prefer using hwtk rather than tk because there is a very helpful application:
In that application, learning and testing hwtk is very easy.
Plus, python is supported and docs:
https://help.altair.com/hwdesktop/pythonapi/index.html
https://help.altair.com/hwdesktop/pythonapi/gui_toolkit.html
Happy scripting!
My guess is that the variable substitution is being done when the button is created rather than when it is clicked. I l like to use namespace in these instances so I can just call the full variable name from inside the procedure.
Thank you for prompt response
My guess is that the variable substitution is being done when the button is created rather than when it is clicked. I l like to use namespace in these instances so I can just call the full variable name from inside the procedure.
https://www.tcl.tk/man/tcl8.5/TclCmd/namespace.htm