How to Add Drop down Option Using New Value Map for Pipeline Properties


Applies To 
Product(s):OpenPlant Modeler
Version(s): 08.11.11.316 (SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: OpenPlant Modeler
Subarea: Schemas
Original Author: Rahul Kumar, Bentley Product Advantage Group

In OpenPlant Modeler, user wants to define drop down option for Pipeline properties using Value Map option.

Background

Value Map Class present in schema gives various option to user to pre-define meta data which can be used as any property existing values and to be pulled out from its field as a drop down option. Below wiki describes the steps to manage newly created properties and a new Value map class definition in schema.

Steps to Accomplish

  1. Launch Bentley Class Editor,Open OpenPlant_3D.01.07. ecschema.
  2. Supplement with below highlighted schema as shown.
    Path: C:\ProgramData\Bentley\OpenPlantModelerV8i\WorkSpace\Projects\OPModeler_Metric\DataSet\Schemas



     For More information on supplementing schemas click here>>>>

  3. Navigate to value map class, right click on it and select Add derived class.



  4. Create a new class name, say See image below:



  5. Switch to Properties tab and add few properties which should be present while assigning to Property attribute in drop down selection. See image below:





  6. Navigate to Pipeline class and add property DESIGN_NOTE in it like shown in image below.



  7. Right click on DESIGN_NOTE property -> Custom Attributes --> Add/Remove.



  8. Select Custom attributes, ExtendType and Lookup Value Map Pointer from dialog box shown below and assign location to schema shown in image.



  9. Enter the value as shown in image below. This will map the new Value map class defined and explained in above steps.



  10. Save & Close Schema.
  11. Launch OpenPlant Modeler.
  12. Select Create Pipeline and verify result. Notice Dropdown for Property DESIGN_NOTE holds the value.

See Also

communities.bentley.com/.../schema---openplant-modeler

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!