toolbar menu

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

Hi,

  how to add toolbar menu in hyperview

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2013

    For this it is best to create your own custom preference.mvw file with these lines:

     

    *Id('HyperWorks', '11.*')
    *BeginDefaults()
        *BeginPlotDefaults()
            *BeginMenu(dummy, 'Scripts')
                *MenuItem(dummy, 'Active Handle', TCL, 'C:/scripts/HV/proc/file_name.tcl')
          *EndMenu()
         *EndPlotDefaults()
     *EndDefaults()

     

    If you want the Menu to show up for all clients use GraphicDefaults instead of PlotDefaults.