| | | |
| Applies To | | |
| | | |
| Product(s): | OpenPlant Modeler | |
| Version(s): | 08.11.09.XXX | |
| Environment: | Windows 7 (64 bit) | |
| Area: | OpenPlant Specification Generator | |
| Subarea: | Support | |
| Original Author: | Rahul Kumar, Bentley Product Advantage Group | |
| |
Overview
To Add Support Class to be read by spec in OpenPlant Modeler.
Problem Description
In OpenPlant Modeler some of the classes do not get read by spec and are kept assigned for modeler at the time of modelling. One of the example we discuss here on DOUBLE_PIPE_TRUNNION class. The SINGLE_PIPE_TRUNNION class is set to read from the Supports.mdb but the Double Pipe trunnion class relies on user inputs. Similar attempts done on desired class by copying the custom attributes and properties. Below are the steps which will aid user achieve the desired settings.
Steps to Resolve
This can be done in two major steps:
A. Creating the Spec for DOUBLE_PIPE_TRUNNION.
- Open mSupport.mdb file. Here it has been taken from default Metric project.
Note - As a prerequisite, a basic understanding of MS Acces file use is required to understand Table, Structure, Data, etc.
- Go to SINGLE_PIPE_TRUNNION table. Copy the table.

- Paste it in left pane and rename it as DOUBLE_PIPE_TRUNNION. See image below.

- Change the description and other information as desired.

- Save & Close the file.
B. Schema update.
- In class editor, Open ‘OpenPlant_3D.01.04.ecschema’ and supplement it with below schemas.
OpenPlant_3D_Supplemental_Information_3DComponent.01.04.ecschema,
OpenPlant_3D_Supplemental_Modeling.01.04.ecschema,
OpenPlant_3D_Supplemental_ModelingViews.01.04.ecschema.
- Navigate to SINGLE_PIPE_TRUNNION class. Check Property tab, you could see additional properties like SUPPORT_DIAMETER, SUPPORT_HEIGHT, SUPPORT_NAME etc.
- Copy those properties, and paste it on DOUBLE_PIPE_TRUNNION class.


- To map spec field name to these properties, user need to add custom attribute ‘ OpenPlant_Physical_Catalogue_Property_Map’ custom attribute. By copying it from SINGLE_PIPE_TRUNNION class, you might get these automatically for some properties. See one example below.

- Now check property ‘Read_From_Spec’ and add custom attribute ‘ Default Value’. Set the value to ‘TRUE’.

- From SINGLE_PIPE_TRUNNION class tab, copy (CTRL+SHFT+K) custom attribute ‘OpenPlant_Physical_Class_Map’ and paste (CTRL+SHFT+L) it to DOUBLE_PIPE_TRUNNION class.


- This will allow spec to be read in OPM.
- Save & Close schema. Verify results in OPM.

Still a Problem?
If above problem still persist, then please create a Service Request and contact Bentley Product Advantage group along with the list of all relevant details to get in depth analysis and for possible solution or workarounds.
See Also
communities.bentley.com/.../13028.openplant-specification-generator
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!