5.7.5.1.3.  Display condition for part selection - Colored catalog index - plinkgroups.cfg -> Block [Role_name] -> Key "CONDITIONTREE"

The directories and products/projects in the directory structure (catalog index) are colored green or white/semi-transparent according to the condition under Display condition for part selection [Display condition for parts selection].[71] Green means that at least one line in a product/project corresponds to the condition under CONDITIONTREE or display condition for part selection [Display condition for parts selection]. Green is "inherited" upwards in a direct line. White/semi-transparent means that no line of any project meets the condition.

3Dfindit: Products with green and white directories and products

3Dfindit: Products with green and white directories and products

PARTdataManager: Catalog index with green and semi-transparent directories and projects

PARTdataManager: Catalog index with green and semi-transparent directories and projects

At Activation of the preferred row function via the button Preferred rows On/Off [Preferred rows on/off] / all white/semi-transparent Products/projects and directories hidden.

Example: Setting in $CADENAS_SETUP/plinkgroups.cfg configuration file

[Note]Note

Please use SQL syntax for this setting.

[Rollenname]
CONDITIONTREE=(LINKTABLE.ERP_PDM_NUMBER<>'') AND (ACTIVE_STATE=1)

Meaning: The ERP number is not equal empty, in other words available AND the column ACTIVE_STATE has the value 1 (= released).

Setting under PARTadmin -> Category Roles -> Tab page General -> Display condition for part selection [Display condition for parts selection]

[Note]Note

No entry in the CONDITIONTREE key or display condition for part selection [Display condition for parts selection] matches:

CONDITIONTREE=(LINKTABLE.ERP_PDM_NUMBER<>'')

[Note]Note

The display condition for part selection [Display condition for parts selection] only applies if there are also parts with numbers in the respective directories!

-> Effect in 3Dfindit:

Preferred series function off: All directories/products are displayed

Preferred series function off: All directories/products are displayed

Preferred series function: Only green directories/products are displayed

Preferred series function: Only green directories/products are displayed

-> Effect in PARTdataManager:

If you activate the Preferred rows on/off filter, only those directories and projects are displayed that contain parts that meet the condition, i.e. the green ones.

Preferred series function off: All directories/projects are displayed

Preferred series function off: All directories/projects are displayed

Preferred series function: Only green directories/projects are displayed

Preferred series function: Only green directories/projects are displayed

More examples:

[Note]Note

For the declaration of the column also state the table in addition (ERPTABLE or LINKTABLE).

You will find the corresponding table in the Configure dialog box.

Example:

LINKTABLE.ACTIVE_STATE

Interaction with other settings

[Tip]Tip

As a rule, it makes sense to set the condition for the preferred series [Preferred ranges] and the display condition for part selection [Display condition for parts selection] in the same direction. See Section 5.7.5.1.2, “ Preferred series - plinkgroups.cfg -> Block [Role_name] -> Key "PREFRANGE" ”.

Example: Preferred series [Preferred ranges] and display condition for part selection [Display condition for parts selection] are both based on the existence of an ERP number.

Example: Preferred series [Preferred ranges] and display condition for part selection [Display condition for parts selection] are both based on the existence of an ERP number.



[71] Settings under COLORCONDITIONTREE or status colors for catalog index [Status colors for catalog index] overwrite and possibly lead to a multi-colored index tree or directories/products (see Section 5.7.5.3.2, “ Status colors for catalog index - plinkgroups.cfg -> Block [role name] -> Key "COLORCONDITIONTREE<number>" ” ).

If the option under PARTlinkManager -> Extras menu [Extras] -> Configure ERP environment -> Mark linked parts in the part selection [Assign linked parts in the parts selection] is deactivated, the catalog index is displayed in one color.