Jump to content
  • Announcements

    • Rahul Ponginan

      Please click here for a short but important announcement   03/26/17

      Dear Users Our Commercial and Academic users around the world can use these same forums here as before i.e. the Altair Support Forum , Commercial users from India with solver queries can go to the Solver Forum for India Commercial Users , Academic Users from India and AOC India Participants are requested to go to the Forum for India Academic Users and AOC India Participants , We will be tending to all queries in all the forums promptly as before, thank you for your understanding. 
alpha

How to save my customized drop menu?

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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:

Capture.PNG.805a697c81dd77fbe4004ee7799cf179.PNG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×