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 Description 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 Follow Launch Class Editor and load OpenPlant_PID schema with OpenPlant_PID_Supplemental_Imperial schema. Go to PIPING_NETWORK_SEGMENT (Pipe Run) class and add a new property PIPELINE_NAME. Add "Calculated ECProperty Specification" custom attribute on it and add below EC Expression. this.GetRelatedInstance("PIPELINE_HAS_SEGMENT:1:PIPING_NETWORK_SYSTEM").NAME Add Category and Annotation Custom attribute as well on this property. Save the changes in schema and exit from class editor. Verify the Result Launch OpenPlant PID and open a drawing. 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. 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!
↧