
Applies To | |
Product(s): | OpenPlant Modeler CONNECT Edition |
Version(s): |
Connect Edition
|
Environment: | Windows 10 (64-bit) |
Area: | Class Editor Customization |
Subarea: | N/A |
Original Author: | Harshavardhan K, Bentley Product Advantage Group |
Background
In OpenPlant Modeler CONNECT Edition, sometimes user needs to add a new associated item using Class editor . Alternate , option to add Associated Item is by using OpenPlant Project Administrator. ClickHere
Steps to Accomplish
- Launch Class editor for the desired WorkSet.

- Open OpenPlant.01.08.ecschema.xml from C:\ProgramData\Bentley\OpenPlant CONNECT Edition\Configuration\Workspaces\WorkSpace\WorkSets\WorkSet Name\Standards\OpenPlant\Schemas.

- Click on search icon look type in Plant_BreakDown_Element and click on Goto. Now right click on Plant_BreakDown_Element, Add derived class and put the desired class name here, PROJECT_CODE

- Now OpenPlant_3D is schema is loaded and now right click to supplement the schema with OpenPlant_Supplemental Schema. Check the small gif clip.

- Click on search icon look type in Plant_BreakDown_Element and click on Goto. Now right click on Plant_BreakDown_Element, Add derived class and put the desired class name here, PROJECT_CODE.

Add Details as Below

- Right click on Project Code and add base classes, Add base Classes 1st from OPENPLANT Schema and 2nd from OPENPLANT 3D schema. See Image below and add accordingly Yellow Highlighted.

- Right click on Project Code and Add Custom Attribute >>> Business Key Specification from Custom Attribute option on the right.


- Right click on Relationship Classes and Add Relationship Class as below and then Add Constraints by clicking on class and add Project Code and Named Item respectively.



- Lastly, add PROJECT_CODE for Associated Item List For Equipment and add custom attribute for Project_Code as shown below in Green.

- Verify Results in OpenPlant Modeler, place an equipment and check the standard preference to see the Project Code added above.

See Also
communities.bentley.com/.../how-to-create-new-associated-property-using-class-editor-in-openplant-connect-edition
Still a Problem?
If above problem still persists, then please create a Service Request and contact the Bentley Product Advantage group. Please include a list of all relevant details to get in depth analysis for a solution or workaround