Applies To Product(s): OpenPlant PID Version(s): 08.11.10.XXX & Higher Environment: Windows 7/8 (64 bit) Area: Customization Subarea: Original Author: Harpreet Singh, Bentley Product Advantage Group Background User want to add DN as a prefix in valve size and annotate it while placement. By default valve size is annotated as 100 but user want to display the valve size as DN100. Steps to Accomplish Open Class Editor and load OpenPlant_PID schema. Supplement it with OpenPlant_PID_Supplemental_Imperial schema. Go to FLUID_REGULATOR class and locate SIZE property. Change the visibility to FALSE in ‘Annotation Custom Attribute’. Create new property and name it DISPLAY_SIZE. Add ‘Calculated ECProperty Specification’ custom attribute on this property. Add below expression in EC Expression field and define other fields as highlighted. "DN" & this.SIZE Add another custom attribute ‘Annotation Custom Attribute’. Add values as shown below: Save the changes and verify the results. Comments or Corrections? Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧