Folder Structure

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

Hi,

   I am loading folder structure in Hypermesh and trying to open it as a menubar click. But when I go into the desktop folder structure and change some name in the folder path, Hypermesh is throwing up an error saying that the file path doesn't exist.(The TCL file should loaded only once) . Can I handle this error like if the path is not present it should pop-up an error. Is there any auto-refresh option for TCL? 

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited November 2015

    Hi,

    you can set a timer to auto-refresh folder items after each interval

    but if you just access menubar via mouse click, you should set refresh action into -command of menu cascade, because you'll not look at menu all the time like explorer

    so it will just refresh when you click on menu (if it repeats refreshing after each interval e.g 1second, it consumes cpu uneccessary)

    so -command option of menu cascade will be a procedure that will refresh sub-menu items to same as meanwhile folder structure