Applies To | |
Product(s): | OpenPlant P&ID CONNECT Edition |
Version(s): |
Connect Edition |
Environment: | Windows 10 (64-bit) |
Area: | Customization |
Subarea: | N/A |
The Tag dialog is displayed for all Tagged components upon placement
Page Connectors tag prompt is turned off.
The Tag display prompt is controlled in the Standard Preferences with the “Show dialog” checkbox
Checked: Show
Unchecked: Do not show
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
1st Sync with tag display variable as set in settings dialog
2nd Always on
3rd Always off
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