How to Map Property with Spec Field and Have it in Spec Selection Grid in OpenPlant PID


 Applies To 
 Product(s):OpenPlant PID
 Version(s):08.11.10.XXX
 Environment: Windows 7 (64 bit)
 Area: Properties
 Subarea: 
 Original Author:Harpreet Singh, Bentley Product Advantage Group

Background

When we place a valve using spec data in OpenPlant PID, there are only few properties which are mapped with spec field in the default configuration. This article will explain how can you map a spec field with an EC Property and have it show up in the spec selection grid. As shown below SIZE, Description, End Condition, Material, Dry Weight, Manufacturer, Rating, Model & Spec ID properties are mapped by default to show up in spec grid.

For example, we will add CATALOG property in this dialog and map it with Spec field.

Steps to Accomplish

  1. Launch Bentley Class Editor.


  2. Load OpenPlant_3D schema from your \\Project\Dataset\Schemas folder.


  3. Supplement it with OpenPlant_3D_Supplemental_Modeling schema.



  4. Go to INLINE_VALVE class and switch to properties tab.




  5. Locate CATALOG_NAME property and add OpenPlant_Physical_Catalogue_Property_Map custom attribute. Add CATALOG in the property name which is name of the spec field. This is very CRTICAL, if it doesn't match up mapping may not work.



  6. Save the changes in the schema.

  7. Now load OpenPlant_PID schema from the same project and supplement it with OpenPlant_PID_Supplemental_Imperial schema.

  8. Go to INLINE_VALVE class and switch to properties tab.

  9. Add new property CATALOG_NAME.



  10. Add 'Category' custom attribute on it and fill the values as highlighted below.



  11. Go to SPEC_VALVE_MAPPING_FOR_OPENPLANT_SPECS class.





  12. Right click on the 'Property Mapping' field as highlighted below and select Add Element option.




  13. Fill the values as shown below in picture below:



    Source Field Name: Value in this field should be property name in OpenPlant_3D schema which is actually mapped to the spec field.

    Destination Field Name: This should be property name in OpenPlant_PID schema.

    Source Display Name: Display Label to be shown in the spec grid.

  14. Save the changes in the schema and verify the result.

  15. Reopen OpenPlant PID and place a valve on the pipe run. You will see the catalog property in the Spec grid as shown below.



  16. After placing the valve check the element info.

See video

communities.bentley.com/.../273303