How to assign color to Equipment, Nozzle & Instrument by Service.
User wants to assign color to the components based on the service they are associated to. In this example, we will see different examples like, Equipment-Nozzle and Instrument.
A. Modify DGNLIB file
Launch OpenPlant PID application.
Open PIDProjectTemplate.dgnlib file from File Open Dialog.
Open Level Manager.
Create levels as New, Future, Existing as highlighted in below image.
Go to Element > Element Templates.
Expand the tree and navigate to Equip > Equipment group.
Right click on Equip and create New Template group and give name as Service.
Right click on Service and create New Template and name them as shown below.
Now, right click on PIDProjectTemplate.dgnlib and create New Template Group and name as Nozzles.
Right click on Nozzles and create New Template as shown below.
Expand Instrumentation and add new Template Group name as Service.
Add three New Template on Service and fill details as shown below.
B. Modify Schema for EQUIPMENT & NOZZLE
Launch Class Editor.
Open OpenPlant_PID.01.07 schema.
Right click on schema and add Supplemental Schema.
Expand the tree in the Left-hand panel and pick the Equipment class. Alternatively Search tool can also be used.
Right click on Equipment class > Custom Attribute > Add/Remove.
Add Valve Property Template Attribute custom attribute on Equipment class.
Fill details as shown below.
Switch to property tab and scroll down and select SERVICE property.
Add Notify Related Component of Property Value Change custom attribute if it is already not added.
Add Value keyin custom attribute.
Fill below details on Value keyin attribute.
Navigate to Nozzle Class.
Right Click on Nozzle Class and add Value Property Template custom attribute.
Switch to property tab and select SERVICE property.
Add Value keyin custom attribute and enter below details.
Add Property Custom Attributes on SERVICE property and fill below details.
Switch to Instrument Class and Add Value Property Template Attribute.
Switch to SERVICE property.
Add Property Custom Attributes and Value Keyin attribute on Service as field given as below.
Create new PID file.
Add three Services to the file New, Future, Existing
If above problem still persist, then please create a Service Request and contact the Bentley Product Advantage group. Please include a list of all relevant details to get in depth analysis for a solution or workaround.
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!