How to toggle the Tag dialog display for individual components



Applies To 
Product(s):OpenPlant P&ID CONNECT Edition
Version(s):

Connect Edition

Environment: Windows 10 (64-bit)
Area: Customization
Subarea: N/A

Description

            The Tag dialog is displayed for all Tagged components upon placement

            Page Connectors tag prompt is turned off.

Control

                The Tag display prompt is controlled in the Standard Preferences with the “Show dialog” checkbox

                Checked:             Show

                Unchecked:        Do not show

  

Override

To override the Tag display for individual components, the “TAG_DISPLAY_PROMPT_CUSTOM_ATTRIBUTE” custom attribute has to be add to the component class.

There are three properties on the custom attribute:

SyncWithTagDisplayVariable:            Sync display tag dialog according to Standard Preferences with the “Show dialog” checkbox

AlwaysOn:                                          Always display tag dialog

AlwaysOff:                                          Never display tag dialog

 

Logic order (for the chance all three options are set)

1st Sync with tag display variable as set in settings dialog

2nd Always on

3rd Always off

               

Turning off the Tag prompt for an individual component

Add the “TAG_DISPLAY_PROMPT_CUSTOM_ATTRIBUTE” custom attribute to the desired class and set : AlwaysOn=False, AlwaysOff=True and SyncWithTagDisplayVariable=False. 

<ECClass typeName="HORIZONTAL_CENTRIFUGAL_PUMP" displayLabel="Horizontal Centrifugal Pump" isDomainClass="True">

    <BaseClass>CENTRIFUGAL_PUMP</BaseClass>

    <ECCustomAttributes>

        <TAG_DISPLAY_PROMPT_CUSTOM_ATTRIBUTE xmlns="pid.01.08">

            <Tag_Display_Options>

                <AlwaysOn>False</AlwaysOn>

                <AlwaysOff>True</AlwaysOff>

                <SyncWithTagDisplayVariable>False</SyncWithTagDisplayVariable>

            </Tag_Display_Options>

        </TAG_DISPLAY_PROMPT_CUSTOM_ATTRIBUTE>

    </ECCustomAttributes>       

</ECClass