Our 3D CAD supplier models have been moved to 3Dfindit.com, the new visual search engine for 3D CAD, CAE & BIM models.
You can log in there with your existing account of this site.
The content remains free of charge.
The menuvisibilty configuration file controls the visibility of menus, menu items, toolbars, buttons and context menu commands.
You can create different modes. Each mode covers a specific range of actions = UI elements.[15]
The first level represents the different modes. By default these are Beginner and Professional.[16]
[COMMON] MODE_BEGINNER=Beginner MODE_PROFESSIONAL=Professional
Each mode (key name) requires a same-named block. The key value is the display name in the application.
The second level are blocks where the desired actions (UI elements) are assigned to the mode.
[MODE_BEGINNER] ViewPart=true View2D=true ExtrasPARTbom=true etc. [MODE_PROFESSIONAL] ViewPart=true View2D=true ExtrasPARTbom=true etc.
The key name is according to the action name.
The value range of keys is true or false, meaning they represent the visibility.
If a key is missing in the list, then the state of visibility is "false".
The selection of the desired mode happens in PARTdataManager under Extras menu -> Select mode. The default mode is stated in $CADENAS_DEFAULTUSER/partsolu.cfg -> block [TWEAKMENU] -> key "Mode". The respective menu item is displayed, if the key ModePreferences is set on true in the respective block.
If you select mode Beginner, you will see a lower amount of items on your UI.
The selected mode is highlighted.
If ERP is available then the display of UI elements can be designed role-dependent (in addition).
In order to avoid redundant settings the declaration of the elements happens in two levels:
At first all needed roles are assigned to types.
[ROLES] DUMMY=TYP_A LOC1=TYP_B LOC2=TYP_A LOC3=TYP_A etc.
In a second step the desired actions (elements) are assigned to the [TYP_] blocks.
[TYP_A] MODE_BEGINNER=false MODE_PROFESSIONAL=false Bugreport_Clicked=true din962=true ShowHideAvoidPartsButton=true prefcatalogs=true StartupPageClicked=true List view of parameters=true Table view of parameters=true etc.
[TYP_B] MODE_BEGINNER=false MODE_PROFESSIONAL=false Bugreport_Clicked=true din962=true ShowHideAvoidPartsButton=true prefcatalogs=true StartupPageClicked=true List view of parameters=true Table view of parameters=true etc.
If there is information in two different, valid blocks, then the information is merged.