Cancel
Showing results for 
Search instead for 
Did you mean: 

Setting default state of a menu file toggle button

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello everyone!

 

Is it possible to set a default state for the menu file's TOGGLE_BUTTON, so that after the menu roll-out those buttons would be checked or unchecked? Currently they are all unchecked. Also, after I restart NX session, they all return to the unchecked state.

1 REPLY

Re: Setting default state of a menu file toggle button

Siemens Phenom Siemens Phenom
Siemens Phenom
 
From the Menuscript docs:
 
VALUE statement

Specifies the initial value of a toggle button, which can be either OFF or ON. The VALUE statement is optional.

Example:

  • ...
    MENU UG_WCS
    TOGGLE_BUTTON UG_WCS_DISPLAY
    LABEL Display WCS
    ACTIONS STANDARD
    VALUE OFF
    ...