Cancel
Showing results for 
Search instead for 
Did you mean: 

Different custom menus in native and managed

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello everyone!

 

How can I roll out custom UI ribbon buttons differently for NX in native and under TC?

2 REPLIES

Re: Different custom menus in native and managed

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor

Hi @Scaffold,

 

You could create separate NX roles (*.mtx) and then set the variable UGII_DEFAULT_ROLE to point to the respective role based on the user's environment.

 

# This variable defines the default role that NX will use at startup time.
# If directory path is omitted then the system will look for the specified file in the NX/Open roles directories.
#UGII_DEFAULT_ROLE=advanced_full_menus.mtx

If you want to point your users to specific edited ribbon files (*.rtb) place these in an application sub-directory pointed to using one of the variables defined in the documentation here.  For example:

Place the .rtb files in X:\directory\application

set UGII_USER_DIR=X:\directory\
The custom ribbon files will be read on startup.

More information here: Customizing the NX interface using files

 

Regards, Ben

Re: Different custom menus in native and managed

Solution Partner Genius Solution Partner Genius
Solution Partner Genius
Hi! I believe that roles are not the best choice. Roles can be redefined and are generally for the user customization. I am interested whether it is possible to exclude some custom buttons available in native mode from the managed more. The buttons are rolled out using the grb/dtx files.