How to create a new tcl/tk environment
We know that if we want to create a new model, we just need to click File-- new-- model, so how to create a new tcl/tk environment.
In other word, how do I clear all the variables, function, handles and so on that I've defined in the command window.
thanks.
Best wishes.
Answers
-
Hello,
You can Clear the window by a right-mouse-button click
0 -
Opening a new session of HyperMesh guarantees all the variables etc. are clear.
Otherwise working in a namespace makes this easier as you can delete the whole namespace.
0 -
Ben Buchanan said:
Opening a new session of HyperMesh guarantees all the variables etc. are clear.
Otherwise working in a namespace makes this easier as you can delete the whole namespace.
Thanks for your reply, but the result I got is different from what you said.
I open HyperMesh and enter
<span style="color: #b96ad9;"><span style="color: #000000;">set var 1.2; puts $var</span></span>
in command windows,Window Output 1.2
then I click File---New---Session, and I continue to
put $var
in command windowsWindow Output 1.2
So opening a new Session does not empty the previous variables
0 -
Jason Craanen_20442 said:
Hello,
You can Clear the window by a right-mouse-button click
Thanks, but this is not the method to clear all variables and handle etc..
0 -
Meng yu said:
Thanks for your reply, but the result I got is different from what you said.
I open HyperMesh and enter
<span style="color: #b96ad9;"><span style="color: #000000;">set var 1.2; puts $var</span></span>
in command windows,Window Output 1.2
then I click File---New---Session, and I continue to
put $var
in command windowsWindow Output 1.2
So opening a new Session does not empty the previous variables
Sorry, bad choice of words. What I meant is a new window.
0 -
Ben Buchanan said:
Sorry, bad choice of words. What I meant is a new window.
Anyway, thank you so much.
0 -
Meng yu said:
Anyway, thank you so much.
Using HWC is a good way of avoiding handles too.
0