Applies To Product(s): OpenPlant PID Version(s): 08.11.10.xxx Environment: Windows 7/8 (64 bit) Area: Database Subarea: Original Author: Brandon Moberg, Bentley Product Advantage Group Background User's project requirement is to have valves with the same name in one drawing but with default configuration it doesn't allow duplicate tags. Below are the steps to achieve this configuration. The first outlines how to set this up for Fluid Regulators. To setup all valves to have a Tag Number that doesn’t require uniqueness: You will have to add the Custom Attribute “RequiresUniqueBusinessKey” to the Tag Number property for Valves in the OpenPlant_PID schema file. Basic Steps: 1. In the project.pcf file turn on the following variable: #This turns on the checking for duplicate values depending on the Class Custom Attribute"Require Unique BusinessKey" per component. #Check for Tag/BusinessKey Unique Validation BMF_REQUIRES_UNIQUE_BUSINESSKEYS = 1 2. Open the OpenPLANT_Supplemental_Tagging schema in Class Editor.3 3. Browse to each class that is either required to have duplicate tags or preferred not. If desired make sure the "Requires Unique Business Key" variable is in place and the Class Scope value matches the name of the Class Name. If duplicate tags is required then remove the "Requires Unique BusinessKey". In Class Editor, open the OpenPlant_PID_Supplemental_Tagging schema. Go to Fluid Regulator Class. Right click on the Fluid Regulator class and add the Custom Attribute. Add the new Custom Attribute “Requires Unique BusinessKey”. Populate the Class Scope value for this new Custom Attribute with the exact name of the class itself "FLUID_REGULATOR" as shown below: Comments or Corrections? Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧