Adding DropDown Menu to HyperView Menu Bar

User: "Manuel Armbruester"
Altair Community Member
Updated by Manuel Armbruester

Hello alls,

I want to create a menu entry in HyperView 2019 Menu line (File Edit View Results ... ) providing quick access to some macros. As I understand, this will be realized by creating a preference file which shall be loaded (File -> Load -> Preference File): first "register" file and than "load" file.

I have created such a preference file and has added it to the preferences list. This file includes following code:

*Id("HyperWorks", "2019")
   *BeginDefaults()
      *BeginPlotDefaults()
         *BeginMenu(dummy, "MA Post")
            *MenuItem(dummy, "vonMises", TCL, "C:/temp/vonMises.tcl")
         *EndMenu()
      *EndPlotDefaults()
   *EndDefaults()

=> but: nothing is shown in HyperView

I have tried code with " and '    => no effect

I have tried different entries vor *Id()  => no effect

Can anybody tell me, how preference file has to look like to create a new menu(button) in menu bar calling a tcl script? I've searchd in Forum, but some promising links I found were no more accessable...

Thank you very much

and best regards

Manuel

Find more posts tagged with