26.11.1. Overview

[125]With V10 Tweakmenu has completely been reworked.

This results in some advantages:

  • Old vbs scripts for tweakmenucfg have been removed and replaced by C++ code. So starting times are quicker now. Toolbars and menus can be managed by scripts, furthermore context menus and buttons, what was not possible before.

  • There are "MODE_" sections which create a "Beginner / Professional" selection option (PARTdataManager -> Extras menu). These can act as additional filter for roles.

  • Menu and toolbar order and toolbar positions (left, right, top, bottom) can be specified.

  • You can specify whether icon or text or both shall be displayed in the toolbar.

All settings are handled with standard configuration files which can be displayed in PARTadmin -> Category Configuration files -> $CADENAS_Setup.

The name of the respective controlled application is included into the config name.

The tweakmenu is controllable with two configs:

  • menustructure_<name of application>.cfg

    Example:

    menustructure_PARTdataManager.cfg
    menustructure_PARTProject.cfg

    This config controls the structure of toolbars and menus in the application.

  • menuvisibility<name of application>.cfg

    Example:

    menuvisibility_PARTdataManager.cfg
    menuvisibility_PARTProject.cfg

    This config controls the visibility of UI elements in the application.

Examples:

In the following you can see some exemplary screenshots (when using PLDBDEMO database, with login „mechanical“).

"Leave sucker" and Hedge Shear have full menus (e.g. Admin):

"Chain saw" is reduced (e.g. CAD user):

"Tooling" still more reduces (e.g. purchaser, does not need Export functions):

Detailed information can be found under Section 1.7.8.2, “ Tweak menus, menu items, toolbars, buttons and context menu commands ” in PARTsolutions - Administration Manual.




[125] #51637