Applies To Product(s): OpenPlant PID Version(s): 08.11.10.xxx Environment: Windows 7 64 bit Area: Customization Subarea: Original Author: Harpreet Singh, Bentley Technical Support Group Introduction In OpenPlant PID, there are annotations for Pipelines which are represented in a box. By default, there are three properties which are annotated in the annotation box Size, Pipe Run, Pipeline Name as shown below. As per project requirement users may need to customize the annotation to change the properties of his choice. Below steps will illustrate the procedure to customize the pipeline box annotation. Steps to Follow Open Class Editor. Load OpenPlant_PID schema and supplement it with OpenPlant_PID_Supplemental_Imperial schema. Locate the PIPE_LINE_ANNOTATION_ALT7 class in the schema. Switch to Properties tab and add a new property PIPELINE_FLOW_RATE. Note: Change the Property type from 'string' to 'double'. Add 'Property Custom Attribute' on this property and add the default value as Flow Rate. Save the changes in schema and close Class Editor. Open Miscellaneous.cel file in OPPID from the concerned project and open PIPELINE_ANNOTATION_ALT1 model. Go to Element>Tags>Define. Select PIPELINE in Sets section and you will see the related properties in tags section on the right. In this step, we will remove the PIPELINE_NAME property which represents Pipeline Tag. Click Add button to add PIPELINE_FLOW_RATE property into the tags. Click OK and exit out of the Tag sets command. Go to Tools>Text>Tags>Attach Tags. Select PIPELINE in attach tags dialog. Select the boundary of the box and select PIPELINE_FLOW_RATE from the dialog and click OK. Place the Flow Rate tag into the box. Save the settings in the Miscellaneous.cel file and switch to drawing. Verify the Result Place a new Pipeline in the model and give the value to Flow Rate property. Now in Annotations task, select Pipeline Annotations and then Pipeline Box Annotation from the list. Now Place the box annotation alongside the pipe run. A s you can see above the value has come up correctly in the annotation box but the units did not. It's a known limitation as of now and an enhancement has been logged for this and should be implemented in the future releases. See Also Comments or Corrections? Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧