Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 16985

Wiki Page: How to Differentiate Between Multiple Records for Topworks in Spec.

$
0
0
Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX Environment: Windows 7 64 bit Area: Component Subarea: Original Author: Harpreet Singh, Bentley Technical Support Group Scenario: When there are multiple records of TopWorks (say HAND_WHEEL) in the spec then while placement of valves (Gate Valve & Globe Valve) software does not differentiate between the records and places the HAND_WHEEL with same dimension on both the valves. Changes to be made in Spec Using OP-SpecGen: Open OP Specification Generator. Load the Spec in Spec Gen & go to Gate Valve section. Add a constraint ‘TAG’ from the second icon in this section as shown below. 4. Now click the last icon on this section i.e. Define Section Descriptions as shown below: 5. In this dialog box click icon with + sign i.e. ‘Add Column’ – TAG. 6. Right click on VALUE field and type [GATE] in this highlighted area as shown below and click green check button. 7. Similarly repeat steps 3 to 6 and add value [GLOBE] for TAG property in ‘Globe Section’. Please see below: 8. Now go to TOPWORKS section and add TAG constraint. 9. Add the same values for gate valve and globe valve as shown below: 10. Save the Spec. Changes to be made in Schema: Open OpenPlant_CustomAttributes.08.11 schema in class editor from below given path. C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\OPModeler\schemas. Now open OpenPlant_3D.01.04 schema in class editor from project schemas and supplement it with OpenPlant_3D_Supplemental_Modeling.01.04. Expand the Classes node and go to Plant Base Object\Named Item\Device\Valve Operating Device\Manual Valve Operating Device\Hand Wheel. Right click on HAND_WHEEL class and click Custom AttributesàADD/Remove. 5. Add OpenPlant_Physical_AdditionalDBQuery custom attribute in OpenPlant_3D_Supplemental_Modeling location and click OK. Please see below picture for your reference: 6. Right click on FieldName and click “Add Element” in context menu. 7. Type “TAG” in the FieldName and SAVE the schema. 8. Open OPM and verify the results.

Viewing all articles
Browse latest Browse all 16985

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>