How to Create Custom Instrument and Custom Property Annotation.


Applies To 

Product(s):

OpenPlant PID

Version(s):

08.11.10.XXX & Higher

Environment: 

Windows 7/8 (64 bit)

Area: 

Customization

Subarea: 

Custom Component

Original Author:

Nikhil Salunkhe, Bentley Product Advantage Group

Background

In OpenPlant PID, we have some default Instrument but sometimes according to user's  Project  they wanted to have their own Customized Instrument. In below Wiki article, it is defined how to create a Custom Instrument with require graphics using Component Manager Tool.

Steps to Accomplish

  1. Launch OpenPlant PID.

  2. To Create Custom Graphics, go to Tools &  Base Geometry Tool.






  3. Create graphics and select by using element selection tool



  4. Go to Tools > Managers > Click on Component Manager



  5. Click on "Create Component from Elements"



  6.  Build New Component Wizard will pop up.



  7. Select specific cell library here, Instrument.cel, define origin and click “Next”



  8. Click “Next”



  9. 'Add Annotation', Placement count for the property and Click Ok



  10. Click 'Next'



  11. Click 'Finish'



  12. Customize dialog will pop up.

  13. Now, Drag and Drop Custom Instrument from Left user task bar to Right user task bar



  14. Close above dialog box and Go to File > Open



  15. Notice below result of a Customized instrument



Case 2: How to Add Custom Property Annotation for Instrument using CLASS EDITOR.

Background:
 In OpenPlant PID, user wanted to have a custom property and its annotation getting placed on instrument.  Now, we are defining steps for adding custom property annotations on instruments.

  1. Launch Class editor.

  2. Load OpenPlant_PID.01.07.ecschema and supplement with OpenPlant_PID_Supplemental_Imperial.01.07.ecschema





  3. Navigate to NEW_INSTRU , switch to properties tab, click on Add > New. 



  4. Fill below details.



  5. Right Click on INSTRUMENT_ID, Add new custom attributes 'Category' and Annotation Custom Attribute', Click Down arrow, change location to OpenPlant_PID_Supplemental_Imperial.01.07. See below images.





  6. Save all the changes.

  7. Launch OPPID, go to Tools > Managers > Component manager > Search CUST_INSTRU & Click on 'Define or Edit Annotations'







  8. Place NEW_INSTRU and verify below result.

    Note: Similarly, you can place different annotations for different properties.

See Also

communities.bentley.com/.../how-to-add-units-of-measurement-on-property-in-openplant-pid

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!