To Troubleshoot OpenPlant Modeler Crashes Due to Misplaced Custom Attributes in the Schemas


Applies To
Product(s):OpenPlant Modeler CONNECT Edition
Version(s):10.xx.xx.xxx
Environment:Windows 10/11 (64 bit)
Area:Schemas
Subarea:Supplemental schemas - Custom Attributes
Original Author:Álvaro Melgarejo, Bentley Global Technical Support

Overview

This wiki assumes basic understanding of the Bentley Class Editor and the XML schemas used by OpenPlant Modeler.

When adding a Calculated ECProperty Specification custom attribute to a property of the SUPPORT class with Bentley Class Editor, the user needs to make sure that such custom attribute is located in the OpenPlant_3D_Supplemental_Modeling schema. Otherwise, unexpected crashes might happen while using OpenPlant Modeler.

Problem Description

OpenPlant Modeler crashes consistently when copying a pipe with supports of the class SUPPORT on it, given that any of the SUPPORT class properties have a Calculated ECProperty Specification custom attribute located in the OpenPlant_3D schema and its ECExpression fetches data from the pipe run.

Steps to Resolve

  1. Open Bentley Class Editor v8i.
  2. Open the OpenPlant_3D schema and supplement it with OpenPlant_3D_Supplemental_Modeling.
  3. Navigate to the SUPPORT class.
  4. Identify all the properties that have the Calculated ECProperty Specification custom attribute.
  5. Make sure that the custom attribute is located in the OpenPlant_3D_Supplemental_Modeling schema.


  6. Save and close Bentley Class Editor and restart OpenPlant Modeler. The next time a pipe with supports is copied in OpenPlant Modeler it will not crash.