Default Annotation of Pipe Run with Pipeline Tag in OpenPlant PID


Applies To 
Product(s):OpenPlant PID
Version(s):08.11.10.xxx (SS5) | 08.11.11.xxx(SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: Customization
Subarea: 
Original Author:Harpreet Singh, Bentley Product Advantage Group

Background

There is a requirement from user that when he places any pipeline in the drawing, it should be automatically annotated like other components. Since pipeline is a logical group and not a graphical component therefore it can't be annotated but Pipe_Run related to that particular can be annotated with the Pipeline Tag. This article will explain the steps required to annotate the pipe run with pipeline tag.

Step to Accomplish

  1. Launch Class Editor and load OpenPlant_PID schema.

  2. Supplement it with OpenPlant_PID_Supplemental_Imperial schema.

    Note: If you are making changes to KKS project, then supplemental schema should be OpenPlant_PID_Supplemental_KKS.

  3. Go to PIPING_NETWORK_SEGMENT (Pipe Run) class and add a new property PIPELINE_TAG.

  4. Add "Calculated ECProperty Specification" custom attribute on it and add below EC Expression.

    this.GetRelatedInstance("PIPELINE_HAS_SEGMENT:1:PIPING_NETWORK_SYSTEM").NAME



  5. Add Category and Annotation Custom attribute as well on this property.


  6. Save the changes in schema and exit from class editor.

Verify the Result

  1. Launch OpenPlant PID and open a drawing.

  2. Create a pipeline and place it on the drawing. As soon as the pipe run is placed annotation is linked to cursor, place the annotation.



  3. Place a major pipeline in vertical direction, in Place Annotation window check for Rotate on placement.

  4. Define a origin point to place the annotation and rotate as desired.


See Video

communities.bentley.com/.../273299