
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
- Launch Bentley Class Editor.
- Go to File menu option and select Open

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

- 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

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

- Select “Add” from “Specify Supplemental Schemas” dialog

- 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

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

- 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.

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

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

- Double click on “Joint” or Select Joint click on “Go To”

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

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

- It will remove the field completely and hence fix above error issue.
- Save & close schema.
- Launch OpenPlant Modeler & Verify results.
- 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.
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!