Applies To Product(s): Bentley OpenPlant PowerPID Version(s): 08.11.10.XXX Environment: Windows 7 64 bit Area: Customization Subarea: Original Author: Harpreet Singh, Bentley Technical Support Group Background User wants to define the color by service to the Pipeline in OpenPlant PowerPID. Steps to Accomplish Step 1: Editing the Schema Launch Class Editor. Open OpenPlant_PID.01.04 schema . Right click on the schema name and add supplemental schema OpenPlant_PID_Supplemental_Imperial.01.04 schema . Expand the tree in the left hand pane and pick on the PIPELINE class. Alternatively you can use the search tool to locate the class. Right click on the PIPELINE node in the left hand panel and from the context menu select Custom Attributes Add/Remove… Add the Value Property Template attribute and fill it in as shown below. 7. Now switch to properties tab and scroll down and select SERVICE property. 8. Add the custom attribute Value Keyin Attribute and make sure to add this to supplemental schema and fill the values as shown below: 9. Add the custom attribute Property Custom Attribute and make sure to add this to supplemental schema and fill the values as shown below: 10. Save the changes in schema. Step 2: Creating New Templates in DGNLIB file Launch OPPID and open PIDProjectTemplates.dgnlib file. Expand the tree and navigate to Piping\Pipeline Group. Right click on Pipeline and create a new Template Group and name it ‘SERVICE’. Right click on SERVICE group and create new templates and name them as shown below: 5. Assign the colors and line styles of your choice and close the dialog. Step 3: Testing the Results Launch OpenPlant PowerPID . Create a new PID file. Add three new services to the file. Add “ PG ”, “ PL ” and “ CWR ”. Place the pipelines with these services and verify the results.
↧