How to save my customized drop menu?
Hello Hypermesh experts,
I create my drop menu to call to my TCL script but I do not know how to save this drop menu.
Everytime I quit HM, I have to open the drop menu again.
=======================================
variable top_menu
set top_menu [hm_framework getpulldowns];
catch {$top_menu delete [.hmMainMenuBar index 'Demo']}
catch {destroy $top_menu.custom}
menu $top_menu.custom -tearoff 0
$top_menu insert 19 cascade -label 'MyToolBar' -menu $top_menu.custom
======================================
Thank you for any recommendation and suggestion!
Answers
-
Hi,
just paste your drop-down code into altair/14.0/hm/bin/win64/hmcustom.tcl
if it is read-only file, create your own hmcustom.tcl file, and make a shortcut to hmopengl.exe and edit it arguments like this:
0 -
Excellent! Thank you a ton for your help )))
0