Spec Validation Report Error: Some Properties in Spec Do Not Match in Component


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

Overview

During modeling, sometimes few attributes or properties may append as per requirement and spec gets revised time to time. Considering the case it is required to update existing component with revised information. In OpenPlant Modeler, specs can be validated through an option ‘Validation of Spec for components’ in pipeline Manager. To add new attribute/property in spec and to get it checked during spec validation process, below are the steps to follow. 

Problem Description

While Validating spec, newly added property report error 'Some Properties in Spec Do Not Match in Component'. See image below.

To get it implemented, below steps will describe, adding a new property in Schemas, mapping its property to enable it to fetch the information from specs and display it on its attribute fields in OpenPlant Modeler. Adding the attribute to Configuration variable will get it checked during the time of spec validation. Below exercise has been created to explain it further.

Steps to Resolve

  1. Launch OpenPlant Modeler, select Project OPModeler_Metric here.
  2. Create a Sample Piping Model with some fittings, say EQUAL_PIPE_TEE.
  3. Close OpenPlant Modeler.
  4. In class editor, open OpenPlant_CustomAttributes.08.11.ecschema.xml schema. This will enable to get the custom Attribute OpenPlant_Physical_Catalogue_Property_Map from it.
  5. Again open OpenPlant_3D.01.04.ecschema.xml schema.
  6. Supplement it with OpenPlant_3D_Supplemental_Modeling.01.04.ecschema.xml schema.
  7. Navigate to Piping Component class and create a property TEST_ATTRIBUTE.
  8. Add Custom Attribute OpenPlant_Physical_Catalogue_Property_Map to above property created. See image below.



  9. Open Configuration dialog box through Workspace option present in main menu and search for variable OPM_SPECVALIDATION_ATTRIBUTESTOCHECK. See image below. 



  10. Edit the variable and add new attribute TEST_ATTRIBUTE to enable a check during spec validation process. 



  11. Select OK and save settings.
  12. Launch OpenPlant Modeler, Open Pipeline Manager and do the spec Validation.
  13. Existing components and fittings will be reported as Inconsistent. See image below.



  14. Click on Update spec option. This will update the new attribute to existing components. 

See Also

communities.bentley.com/.../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!