How to use Existing Class as Custom Component


Applies To 
Product(s):OpenPlant Modeler
Version(s):08.11.09.XXX (SS5) | 08.11.11.XXX (SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: Component
Subarea: Graphics
Original Author:Rahul Kumar, Bentley Product Advantage Group

In OpenPlant Modeler, to use existing class as Custom Component.

Background

As per project requirement custom components are required which are not available in library by default. Modeler have the flexibility to use existing class and define it for custom component. In OpenPlant Modeler use existing class for custom component can be done by adding custom attribute “Use Class as Custom Components” under OpenPlant_3D_Supplemental_Modeling.01.04. Ecschema.xml. Below steps will illustrate one if the existing class use and to enable it to show in drop down list under custom piping component builder dialog box. Below example is take for class TEE_SHOE under Support discipline. Similar approach can be made for other discipline like Piping and various class use. 

Steps to Accomplish

  1. In Class Editor, Open OpenPlant_CustomAttributes.08.11.ecschema from project path C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\OPModeler\schemas.

  2. Open OpenPlant_3D.01.04.ecschema from Project path …% project root%\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\..Project Name..\DataSet\Schemas.

  3. Supplement it with OpenPlant_3D_Supplemental_Modeling and OpenPlant_3D_Supplemental_Information_3DComponent.01.04.ecschema from same path mentioned in step2.

  4. Navigate to desired class, say TEE_SHOE  here.

  5. Right click on this class and click on add/Remove custom attribute.



  6. Select desired custom attribute and pull it down to ‘Applied Custom Attribute’ as shown in below image.



  7. Select the location like shown below. 



  8. Set the value True in custom attribute as shown below.



  9. Save & Close Schema.

  10. Launch OPM and verify results. See below image. 

See Also

See Help Menu for 'Add Custom Attributes for a Class' for more details.

Check Similar helpful link on adding valve type in catalog editor:

communities.bentley.com/.../how-to-configure-welded-relief-valve

communities.bentley.com/.../how-to-add-custom-valves-in-schema

communities.bentley.com/.../how-to-create-custom-components-from-cell

communities.bentley.com/.../how-to-create-multiport-custom-valve

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!