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 Product Advantage Group Background In OpenPlant PID, by default there are few properties like Sequence number and drawing number which are annotated on off-page connectors as shown below: This article will explain if user wants some other properties which don’t exist on OFFPAGE_CONNECTOR class and they need to pull them from related pipe run, how that can be done. In this example we will pull service property from pipe run to annotate on off-page connectors. Steps to Accomplish Launch Class Editor and load OpenPlant_PID schema from your project. Supplement it with OpenPlant_PID_Supplemental_Imperial schema. Go to OFFPAGE_CONNECTOR class and switch to properties tab. Add new property and name it ‘SERVICE’. Add ‘Calculated ECProperty Specification’ custom attribute on this new property, change the location and click OK. Add below EC expression in the EC Expression field. this.GetRelatedInstance("CROSS_PAGE_CONNECTION_CONNECTS_TO_SEGMENT:0:PIPING_NETWORK_SEGMENT").SERVICE Add another custom attribute ‘Category’ and fill the values as shown below: Go to LINK_LABEL property and copy the highlighted custom attribute. Select service property and paste this attribute on the property as shown below: Set the values as highlighted in the picture below: Additionally, if we need to annotate the model name inside the connector, we need to remove the annotation custom attribute from LINK_LABEL property. Again go to LINK_LABEL property and remove the ‘Annotation Custom Attribute’ from it. Now go to LINKED_MODEL property and change the X & Y values in ‘Annotation Custom Attribute’ as highlighted below: Save the changes in schema and re-open OpenPlant PID drawing. Verify the results by placing the pipe run and off-page connectors. 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!
↧