How To Map Custom Double Type Property in OpenPlant Modeler



Applies To 
Product(s):OpenPlant Modeler
Version(s):

08.11.09.XXX (SS5) | 08.11.11.XX (SS6)

Environment: Windows 7/8.1/10 (64-bit)
Area: Customization
Subarea: Schema 
Original Author:Deepak Singh,Bentley Product Advantage Group

In OpenPlant Modeler, requirement is to map custom property whose data type is double in OpenPlant Modeler

Background

In OpenPlant Modeler, mapping a custom property whose data type is double doesn’t fetch desired values from spec database. Below wiki article explains how to achieve this in OpenPlant Modeler.

Steps to Accomplish

  1. Launch Bentley Class Editor.
  2. Open OpenPlant_Catalogue.01.07.ecschema from highlighted directory.



  3. Navigate to desired class, in this case go to PIPE class.



  4. Switch to Properties pane. Click on Add > New. Refer below image.



  5. Add a new property as PIPE_OD_M whose data type is double & enter details as shown below.



  6. Save all the changes.
  1. Open OpenPlant_3D.01.07. ecschema from project location & supplement with OpenPlant_3D_Supplemental_Modeling.01.07. ecschema & OpenPlant_3D_Supplemental_ModelingViews.01.07. ecschema.
    For More information on supplementing schema Click Here>>>>
  2. Navigate to Pipe class, switch to Properties tab.
  3. Create a new property as TEST_PIPE_OD_M whose data type is double. See image below.



  4. For TEST_PIPE_OD property, add OpenPlant_Physical_Catalog_Property_Map custom attribute. Refer image below



  5. Add desired ECExpression to fetch values from specs.

    ECExpression: COMPONENT_TABLE.PIPE_OD_M*2


  6. Save all the changes & verify result in OpenPlant Modeler.

See Also

communities.bentley.com/.../how-to-map-spec-data-for-double-type-property-in-openplant-modeler

See Video

communities.bentley.com/.../273305