To Fix Joint Connection Error While Modeling Component


Applies To 

Product(s):

OpenPlant Modeler

Version(s):

08.11.11.87

Environment: 

Windows 7/8/10 (64 bit)

Area: 

Component

Subarea: 

Error Message

Original Author:

Rahul Kumar, Bentley Product Advantage Group

Overview

To fix error message, while modeling flange component assembly without gasket in OpenPlant Modeler.

Problem Description

Modeler receives an error message dialog “Object reference not set an instance of an object. Stack Trace : at Bentley.Building.Mechanical.Api.JointConnection.QueryFromSpec(String spceName)

Reason

This type of joint connection shall be avoided by entering the correct definition string under joint class. See steps to resolve

Steps to Resolve

  1. Launch Bentley Class Editor.
  2. Go to File menu option and select Open



  3. Open OpenPlant_3D.01.07ecschema.xml from “C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\[Project Name]\Dataset\schemas”



  4. Select “OpenPlant.01.07.ecschema.xml” schema in “Locate a missing reference OpenPlant.01.07 for schema OpenPlant_3D.01.07” dialog from “C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\OPModeler\schemas” and Open



  5. Right click on OpenPlant_3D in Class editor and select “Supplement Schema”



  6. Select “Add” from “Specify Supplemental Schemas” dialog



  7. Select "OpenPlant_3D_Supplemental_ModelingViews.01.07.ecschema.xml" and "OpenPlant_3D_Supplemental_Modeling.01.07.ecschema.xml" schemas from “C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\[Project Name]\Dataset\schemas” and press Open



  8. After adding supplemental schemas, Click “OK” to “Specify Supplemental Schemas” dialog.



  9. A “Locate a missing reference OpenPlant_CustomAttributes.08.11 for schema OpenPlant_3D_Supplemental_Modeling.01.07” dialog will pop up, select “OpenPlant_CustomAttributes.08.11.ecschema.xml” schema from “C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\OPModeler\schemas” and select Open.



  10. It will supplement the schema. Once it got supplemented schema will be shown as OpenPlant_3D [Supplemented] in Class Editor



  11. Press “Find Class” icon in Class Editor, write “Joint” in “Search For” field in “Find Class” Dialog and press Search Button



  12. Double click on “Joint” or Select Joint click on “Go To”



  13. In class tab, navigate to custom attribute “OpenPlant_Physical_JointType”.
  14. Check for JointType FLANGE_JOINT.



  15. Notice for Fastener [1] field remain empty.
  16. Right click on it, and click on “Remove Element option.



  17. It will remove the field completely and hence fix above error issue.
  18. Save & close schema.
  19. Launch OpenPlant Modeler & Verify results.
  20. It will allow user to model flanges without error. 

Still a Problem?

If above problem still persist, 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. 

See Also communities.bentley.com/.../20661.errors-logs-messages-crashes-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!