NX What does "ribbon_style" and "style" control in user.mtx file

2023-07-04T06:39:13Z
NX for Design

Summary


Details

Steps to reproduce:

1. Add a command from Customize dialog to the Ribbon bar area as below.

Menu > Tools > Customize.

Commands (tab) > Menu > Insert > Combine > Sew.

Drag and drop the Sew command to Ribbon bar area.

Open the user.mtx file. Typically this file resides in "C:\Users\<username>\AppData\Local\Siemens\<NXVersion>

“ribbon_style” and “style” description is added to user.mtx file to the command that is added by above steps.

2. Again open the Customize dialog.

3. MB3 on the command that you added in the step1 in the Ribbon bar area > Reset.

“ribbon_style” and “style” description disappears from user.mtx file if the command is “Reset”.

What does “ribbon_style” and “style” control?

Solution

“ribbon_style” and “style” attributes control how item looks in ribbon, is it small, medium size, does it show text and etc.

If user customize these attribute, then we record them via these xml attrubutes in mtx file.

Reset command means that we bring everything to baseline and those attributes get removed from mtx file.

KB Article ID# PL8721083

Contents

SummaryDetails

Associated Components

Modeling