cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable menu button in NX

Pioneer
Pioneer

I have developed a menu file in NX. It has lot of buttons.I want to disable a  button for some aplication like in modelling or drating, sheetmetal.

How to do ?

 

Best Regards,

Sasikumar

3 REPLIES

Re: How to disable menu button in NX

Esteemed Contributor
Esteemed Contributor

The HIDE keyword can be used for this.

 

Create a menu file that is located in the application sub-folder of a folder pointed to by custom_dirs.dat or any of the site, group or user DIR variables.

 

    APPLICATION_BUTTON      UG_APP_DRAFTING
    MENU_FILES/APPEND       jh_ordinate.men

 

The above code would add a menu file for drafting.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: How to disable menu button in NX

Pioneer
Pioneer

Hello  Stenfan Pendl,

 

Can u explain How to use HIDE keyword.

Re: How to disable menu button in NX

Esteemed Contributor
Esteemed Contributor

Use it with the name of the menu entry to hide.

 

HIDE UG_VIEW_POPUP_REPLACE_VIEW

 

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community