1.6.8.2.2.2. menuvisibility_PARTdataManager.cfg

The menuvisibilty configuration file controls the visibility of menu items, buttons and context menu commands.

1.6.8.2.2.2.1. Specification of modes (roles)

You can create different modes. Each mode contains a specific amount of actions = UI elements.

There are two levels by default:

  • Specification of the different modes

    In the block [COMMON] the different modes are defined.

    By default, these are Beginner and Professional.[42]

    [COMMON]
    MODE_BEGINNER=Beginner
    MODE_PROFESSIONAL=Professional

  • Specification of the actions

    Each mode (key) stated in the block [Common] requires a same-named block, which contains the desired actions.

    [MODE_BEGINNER]
    ViewPart=true
    View2D=true
    ExtrasPARTbom=true
    etc.
    
    [MODE_PROFESSIONAL]
    ViewPart=true
    View2D=true
    ExtrasPARTbom=true
    etc.

    The explanations use the terms "key name" and "action name" synonymously.

    The value range of keys is true (element visible) or false (element hidden).

    If a key is missing in the list, then the state of visibility is "false".

The desired mode is selected in PARTdataManager under Extras menu [Extras] -> Select mode. The default mode is defined in $CADENAS_DEFAULTUSER/partsolu.cfg -> Block [TWEAKMENU] -> Key "PARTdataManager_Mode" or "PARTproject_Mode". If the ModePreferences key is set to true in the relevant block, the corresponding menu item is displayed.

If you select Beginner mode, you will see a smaller number of functions (menu items, buttons, context menu commands) in the user interface.

The selected mode shows a checkmark.

With ERP integration

If ERP is available then the display of UI elements can be designed role-dependent (in addition).

[Note]Note

The visibility of menus, menu items, toolbars, buttons and context menu commands then depends on the selected mode AND the selected ERP role. In this respect, the ERP role acts as a filter for the selection determined under Mode.

If "MODE_BEGINNER=false" and "MODE_PROFESSIONAL=false", the visibility is only dependent on the respective ERP role.

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 stated in the respective [TYP_] block.

    [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.

[Note]Note

By default, the Select mode option is only available in PARTdataManager available.

1.6.8.2.2.2.2. PARTdataManager: Action names (key names) of menu items / buttons / context menu commands
1.6.8.2.2.2.2.1. PARTdataManager: Action names (key names) of menu items and buttons

[Note]Note

The structure of all context menu commands is created under menustructure_PARTdataManager.cfg.

You can change the visibility of commands (menu item, button, context menu command) in the configuration file menuvisibility_PARTdataManager.cfghere in this section you will find the corresponding action names (key names) for menu items and buttons. Simply change the values between true and false in PARTadmin -> Configuration files.

The same action name can be used for a menu item and a button!

[Tip]Tip

Scroll through the section and have a look on the figures. In connection with the figures you can find the corresponding action names.

Please also read the general information on using the Config Editor under User interface at a glance and Full text search.

The following shows figures of menus and toolbars with contained menu items and buttons. The corresponding action names (key names) can be found in connection with the respective figures.

  • Toolbar display modes [View modes]

    [Note]Note

    Obsolete

    Toolbar "Display modes [View modes] "

    Toolbar "Display modes [View modes] "

    Line view

    obsolete

    ViewLine

    Hidden lines gray display

    obsolete

    ViewHiddenLineGray

    Hidden line view

    obsolete

    ViewHiddenLine

    Shaded view

    obsolete

    ViewShaded

    Shaded view with edges

    obsolete

    ViewShadedLine

    Red/green effect

    obsolete

    ViewRedGreen

    Display with shadow

    obsolete

    ViewShadow

    • Show connection points

    • Hide connection points

    • Show only active connection points

    now found in "Standard" toolbar

    ViewCP

    Show texts and classes

    obsolete

    ViewPubElems

    Front view

    obsolete

    ViewFront

    Rear view

    obsolete

    ViewBack

    Left view

    obsolete

    ViewLeft

    Right view

    obsolete

    ViewRight

    Top view

    obsolete

    ViewTop

    Bottom view

    obsolete

    ViewBottom

    Isometric view

    obsolete

    ViewIsometric

    Perspective projection

    obsolete

    ViewPerspective

    Rotate

    obsolete

    ViewTurn

    Pan

    obsolete

    ViewMove

    Zoom

    obsolete

    ViewZoom

    Zoom view on rectangular clipping

    obsolete

    ViewZoomWindow

    Zoom all

    obsolete

    ViewZoomAll

1.6.8.2.2.2.2.2. PARTdataManager: Action names of context menu commands

In this section you will find PARTdataManager Action names for context menu commands.

[Note]Note

All action names of context menu commands begin with the string "IndexTree ".

The structural creation of all context menu commands takes place under menustructure_PARTdataManager.cfg in the block Tweak, key IndexTreePopupMenuContent. Compare Section 1.6.8.2.2.1.1.3, “Context menus”.

You can change the visibility of commands (menu item, button, context menu command) in the configuration file menuvisibility_PARTdataManager.cfghere in this section you will find the corresponding action names (=key names). Simply change the values between true and false in PARTadmin -> Configuration files.

[Tip]Tip

Scroll through the section and have a look on the figures. In connection with the figures you can find the corresponding action names and so the respective action names.

Please also read the general information on using the Config Editor under User interface at a glance and Full text search.

  • General commands in different contexts:

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg

    Öffnen

    IndexTreeOpenPrj

    Versions

    IndexTreeVersions

    Release Notes... (at catalog level)

    IndexTreeCatalogReleaseNotes

    Go to class

    IndexTreeGoToClass

    Copying [Copy] (at project level) IndexTreeCopyPrj
    Copy (at directory level) IndexTreeCopyDir

    Part information...

    IndexTreePartInfos

    Add to favorites .. [Add to favorites ...]

    IndexTreeAddFavor

    Hide project

    IndexTreeHidePrj

    Create directory [Create Directory] (on root directory "Catalog ")

    IndexTreeCreateDir

    Delete document scan

    IndexTreeDeleteDocScan

    Transfer to CAD [Export to CAD] (on search results at line level)

    IndexTreeExportToCad

    Hide directory

    IndexTreeHideDir

    Import favorites

    IndexTreeImportTree

      Export favorites IndexTreeExportTree

    Insert...

    IndexTreePaste

    Rename directory

    IndexTreeRenameDir

    Remove directory

    IndexTreeRemoveDir

      Remove project from favorites ) IndexTreeRemoveFav

    Remove directory from favorites

    IndexTreeRemoveDirFav

    Context menu Index tree directory level

    Context menu Index tree directory level

  • Purchineering:

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg
      Purchineering IndexTree_Purchineering

    Duplicates Report

    IndexTreeDuplicates

    Unmachined / Finished part report

    IndexTree_Producibility

    Price search...

    IndexTreeSearchPrices

  • Additional context menu commands Favorites

    Favorites context menu

    Favorites context menu

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg
      Insert ( Favorites or Analyses tab page) IndexTreePaste

    Create new directory ( Favorites or Analyses tab page)

    IndexTreeAddDir

    Import favorites

    IndexTreeImportTree

      Export favorites IndexTreeExportTree

    Insert...

    IndexTreePaste

    Rename directory

    IndexTreeRenameDir

    Remove directory

    IndexTreeRemoveDir

      Remove project from favorites ) IndexTreeRemoveFav

    Remove directory from favorites

    IndexTreeRemoveDirFav

      Remove directory from the search index [Remove directory from search index] (favorites [Favorites] or analyses [Analyses] ) IndexTreeRemoveDir
  • Search in the directory [Search in directory]:

    Search in directory

    IndexTreeSearchDialog

    Context menu "Search in directory [Search in directory] "

    Context menu "Search in directory [Search in directory] "

  • Additional context menu commands at project level: /Component [Part comparison] comparison:

    Context menu index tree project level

    Context menu index tree project level

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg
      Part comparison IndexTreeCompareMenu
      Component comparison [Part comparison] -> Load as 1st component [Load as first part] IndexTreeSetComparePrj
      Component comparison [Part comparison] -> Load as 2nd project [Load as second project] IndexTreeSetCompareRef

    Component comparison [Part comparison] -> Add component [Add part]

    IndexTreeAddComparePrj

  • Enhanced search methods:

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg

    Geometrical search for this part IndexTreeSearchForPrj
      Partial search for this part  

    Sketch search for this part IndexTreeSearchForSketchFromPrj

    Cloud Navigation Search

    IndexTreeSearchForCloudNavigator

  • Subitems of @ Classifications:

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg

    Use view as classification image [Use view as classification picture] (in the classifications [Classifications] menu)

    IndexTreeCreateClassBmps

    Use view as classification picture

    Use view as classification picture

  • Details View:

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg

    copy %1 to clipboard [Copy %1 to clipboard] (Details view)

    IndexTreeCopyClipboard

    Copy name to clipboard

    Copy name to clipboard

  • Document scan context menu:

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg

    Add to analysis [Add to analysis...]... ( Analyses tab page)

    IndexTreeAddAnalysis

    Analysis ( Analyses tab page)

    IndexTreeAnalysisMenu

      Analysis -> Open document in CAD IndexTreeOpenCadDocument
      Analysis -> Document scan Comments [Document scan comments...].. IndexTreeCommentDocscan
      Remove project from the search index [Remove project from search index] ( Analyses tab page) IndexTreeRemovePrj
  • User-dependent commands:

    Icon Display text or tooltip Action name (key name) in menuvisibility_PARTdataManager.cfg

    Edit with PARTproject

    IndexTreeCallPartProject

    This action is only available in developer mode. See Section 1.6.4.3.3.1, “ Key "IsAdmin" - User mode ”.

    Generate image data/preview images

    IndexTreeCreateClassBmps

    This action is only available in developer mode. See Section 1.6.4.3.3.1, “ Key "IsAdmin" - User mode ”.




[42] You can expand the number of modes at any time. To do this, simply add a new key in the [COMMON] block and then set up the corresponding blocks with the actions.