How To Get an Annotation Text to Appear Automatically after Drawing a Pipe Run Displaying any of its


Applies To
Product(s):OpenPlant PID CONNECT Edition
Version(s):10.xx.xx.xxx
Environment:Windows 10/11 (64 bit)
Area:Pipe runs
Subarea:Annotations
Original Author:Álvaro Melgarejo, Bentley Global Technical Support

Background

Using the default configuration, after placing certain items on an OpenPlant PID CONNECT Edition drawing an annotation text with information about the item is automatically displayed under the user's cursor ready to be placed on the drawing. The annotation text usually displays one or various of the item properties. This, however, is not the case when drawing pipe runs, and the purpose of this wiki is to show how to get the pipe run's Name property to be ready for placement automatically after drawing the pipe run. The same workflow can be used with other properties as well.

Steps to Accomplish

  1. Launch Bentley Class Editor v8i.
  2. Open the OpenPlant_PID.01.08.ecschema.xml schema and supplement it with OpenPlant_PID_Supplemental_Design.01.08.ecschema.xml.
  3. Navigate to the Pipe Run [PIPING_NETWORK_SEGMENT] class. Then click on the Properties tab, then select the NAME property and find its custom attribute Annotation Custom Attributes and in it, find the field Visibility, notice that it is set to False, expand the dropdown and change it to True.

    Please note: If the user chooses a property other than NAME, and that property does not have the Annotation Custom Attributes attribute already assigned to it, the user needs to assign such attribute to the chosen property. To achieve that, click on the Custom Attributes... button and then select Add/Remove... In the next window that pops up, find Annotation Custom Attributes on the upper box, bring it down to the lower box by clicking on the downward-pointing button, make sure that it is located in the supplemental schema, and hit OK.
     After that, fill up the fields in a similar fashion to how they are in the NAME property.
  4. Save and close the schema.
  5. Launch OpenPlant PID CONNECT Edition and place a pipe run. Notice how now, after finishing drawing the pipe run, an annotation text appears automatically under the cursor with the Name of the pipe run on it ready to be placed.