How to Create Child class under existing Button



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

CONNECT Edition 10.11.++

Environment: Windows 10/11 (64-bit)
Area: Child Class
Subarea: Button
Original Author:Nikitesh Kawana, Bentley Global Technical Support


Background

If it is required to create a class similar to another existing class, then a Child class can also be created in that case.

 

Steps to Accomplish

  1. Create Class using Bentley Class Editor, open class editor and open ‘’OpenPlant_3D.01.0X’’ schema and supplement ‘’OpenPlant_3D_Supplemental_ModelingViews.01.0X’’ schema.
  2. Locate Pipe Nipple, ClassesàPlant Based Object àNamed Items à Device à Piping and Instrument Component à Piping Component à Pipe à Nipple, and create a class using ‘’Add Derived class’’ command
  3. Rename class Values in Name and Display Label Field




  4. Right Click on Pipe Nipple in Hierarchy, and select Custom attribute

  5. Add OpenPlant_Physical_Placeable_Child_Classes to Applied custom attribute by double click on it, and change location to OpenPlant_3D_Supplemental_Modeling.01.0X, and say OK
  6. Add element in EC_CLASS_NAME by right clicking and say Add Element,
  7. Add Parent Class name in EC_CLASS_NAME[0], and child class name in EC_CLASS_NAME[1]




  8. Save & close

  9. Open .mdb file of Specification located at C:\ProgramData\Bentley\OpenPlant CONNECT Edition\Configuration\WorkSpaces\AsperProject\WorkSets\AsperProject\Standards\OpenPlant\Specs\AsperProject.mdb,

    Add EC_CLASS_NAME as PIPE_NIPPLE_REDUCER and required data in relevant column, Save & Exit

  10. Start OpenPlantModeler and open .dgn file, create new pipeline and select desired specification in which new child class was created, Check in Nipple tool, if Dropdown appears for choosing child case.




See Also 

communities.bentley.com/.../how-to-add-the-reattach-instrument-bubble-and-annotation-option-in-the-openplant-pid