powered by CADENAS

Manual

Manual

1.7.9.2.2.2. menuvisibility_PARTdataManager.cfg

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

1.7.9.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 various modes

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

    This are Beginner and Professional by default.[28]

    [COMMON]
    MODE_BEGINNER=Beginner
    MODE_PROFESSIONAL=Professional

  • Specification of 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 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 "PARTdataManager_Mode" or "PARTproject_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 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).

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.

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

[Note] Note

Structural layout of all context menu commands happens in menustructure_PARTdataManager.cfg.

The visibility of commands (menu item, button, context menu command) has to be changed in the configuration file menuvisibility_PARTdataManager.cfg. Here, in this section you can find the respective action names (key names) for menu items and buttons. In PARTadmin -> Configuration files, simply change the values between true and false.

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.

Also see the general notes on how to handle 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.

  • View modes toolbar

    [Note] Note

    Obsolete

    Toolbar "View modes"

    Toolbar "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.7.9.2.2.2.2.2. PARTdataManager: Action names of context menu commands

In this section you can find the PARTdataManager action names for context menu commands.

[Note] Note

All commands concerning the index tree start with the substring "IndexTree".

Structural layout of all context menu commands happens in menustructure_PARTdataManager.cfg in the block Tweak, key IndexTreePopupMenuContent. Compare Section 1.7.9.2.2.1.1.3, “Context menus”.

The visibility of commands (menu item, button, context menu command) has to be changed in the configuration file menuvisibility_PARTdataManager.cfg. Here, in this section you can find the respective action names (key names) for menu items and buttons. In PARTadmin -> Configuration files, simply change the values between true and false.

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

Also see the general notes on how to handle the config editor under Benutzeroberfläche im Überblick and Volltextsuche.

  • General commands in different contexts:

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

    Open

    IndexTreeOpenPrj

    Versions

    IndexTreeVersions

    Release Notes... (on catalog level)

    IndexTreeCatalogReleaseNotes

    Go to class

    IndexTreeGoToClass

    Copy (on project level) IndexTreeCopyPrj
    Copy (on directory level) IndexTreeCopyDir

    Part information...

    IndexTreePartInfos

    Add to favorites ...

    IndexTreeAddFavor

    Hide project

    IndexTreeHidePrj

    Create Directory (on root directory "Catalog")

    IndexTreeCreateDir

    Delete document scan

    IndexTreeDeleteDocScan

    Export to CAD (on search results on 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

    Context menu Favorites

    Context menu Favorites

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

    Create new directory (tabbed page Favorites and Analyses)

    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 search index (Favorites or Analyses) IndexTreeRemoveDir
  • Search in directory:

    Search in directory

    IndexTreeSearchDialog

    Context menu "Search in directory"

    Context menu "Search in directory"

  • Additional context menu commands on project level: / Part 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
      Part comparison -> Load as first part IndexTreeSetComparePrj
      Part comparison -> Load as second project IndexTreeSetCompareRef

    Part comparison -> 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 picture (im Classifications Menü)

    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 (Details view)

    IndexTreeCopyClipboard

    Copy name to clipboard

    Copy name to clipboard

  • Context menu Document scan:

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

    Add to analysis... (tabbed page Analyses)

    IndexTreeAddAnalysis

    Analysis (tabbed page Analyses)

    IndexTreeAnalysisMenu

      Analysis -> Open document in CAD IndexTreeOpenCadDocument
      Analysis -> Document scan comments... IndexTreeCommentDocscan
      Remove project from search index (tabbed page Analyses) 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. On this see Section 1.7.4.2.3.1, “ Key "IsAdmin" - User mode ”.

    Generate image data/preview images

    IndexTreeCreateClassBmps

    This action is only available in developer mode. On this see Section 1.7.4.2.3.1, “ Key "IsAdmin" - User mode ”.



[28] You can enhance the amount of modes anytime. Simply add a new key in the block [COMMON] and then set the corresponding block with the desired actions.