command to clear the variable values in hypermesh command window

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello,

 

I am learning how to run tcl scripts in hypermesh. I want to clear all the values assigned to the variable in the previous run before running the new script. I am facing difficulty in clearing all the values assigned to the variables. I tried using 'clear' command but it doesn't work. Does anybody know how to clear previously assigned values of the variables? 

Answers

  • tinh
    tinh Altair Community Member
    edited April 2017

    Hi, 

    use 'unset' command

    if you set your vars in a namespace, simply delete the namespace