How To Modify Valve Tag


 

Applies To
Product(s):OpenPlant Isometrics Manager
Version(s):08.11.09.XXX (SS5) | 08.11.11.XXX (SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: Settings/Attributes
Subarea:-
Original Author:Rahul Kumar, Bentley Product Advantage Group

Overview

In OpenPlant Isometrics Manager, tagging of valve can be experienced with ‘User Label’ option present under Isometric configuration dialog. 

Problem Description

In OpenPlant Isometrics Manager, with ‘User Label’ option, user has created the labels as $(DEVICE_TYPE_CODE)$$(NUMBER) which split on two lines (DEVICE_TYPE_CODE on top and NUMBER on the bottom. The placement routine normally falls correct except for the number which has leading zeroes in the tag e.g. HV-0001. When the annotation is placed, the leading zeros are dropped resulting in HV-1. Below steps will illustrate to retain the leading zeroes on valve tags. This has been shown in context with OpenPlant Modeler and OpenPlant Isometrics Manager.

OpenPlant Modeler-OpenPlant Isometrics Manager

Steps to Resolve

  1. Launch the Bentley Class Editor and open the following schemas.

    OpenPlant_3D.01.07.ecschema.xml  (%ProjectRoot%...\WorkSpace\    Projects\OPModeler_Metric\ DataSet\Schemas\).

    Supplement With,OpenPlant_3D_Supplemental_Isometrics_Isoextractor.01.07. ecschema.xml (%ProjectRoot%...\WorkSpace\Projects\OPModeler_Metric\ DataSet \ Schemas\).

    For More information on supplementing schema click here>>>>

  2. Under Valve class write below expression this.DEVICE_TYPE_CODE & "$" & this.NUMBER for custom attributes Specific BOM labels.

    Name : IE_ValveTag
    Value : this.DEVICE_TYPE_CODE & "$" & this.NUMBER



  3. Save & Close Schema.

  4. Launch OpenPlant Isometrics Manager.

  5. Select Project unit, say OPModeler_Metric here and click OK. See image below:



  6. Click on "Configuration" Icon to launch Isometric configuration dialog box.



  7. Select Isometric Style, say IFC here and click on "Add New Label" to create new user labels.



  8. Fill in the data like shown below. 

    Include - IE_TYPE=CT_VALVE_STRAIGHT
    Text - $(IE_ValveTag)
    Type- NOTE
    Cell Name - NOTE



  9. Save and Close Isometrics configuration dialog box.

  10. Generate isometric and verify results. See image below.



  11. To show results in Bill of material section, we need to define variable in Default Bill of Material Labels custom attribute.

  12. Repeat step 1.

  13. Navigate to Plant Base Object, right click & select Custom Attributes > Copy as shown.




  14. Select Default Bill of Material Labels custom attribute, using drop arrow copy this custom attribute as shown below.




  15. Navigate to Valve class and paste the copied custom attribute as shown.




  16. Under Default Bill of Material Labels custom attribute add variable as shown below.

    Name :  IE_VALVE_TAG
    Value :  this.DEVICE_TYPE_CODE & "-" & this.NUMBER




  17. Save all the settings

  18. Navigate to report.def file of your particular style folder.

  19. To concatenate device type code & number for valve edit report as shown below.

    COLUMN = 60: W : IE_DESCRIPT + " " IE_VALVE_TAG




    "+" is used for concatenating properties & " " used to provide extra spacing

  20. Save the settings and verify the result as shown below.




See Also

communities.bentley.com/.../13393.settingsattributes-openplant-isometrics-manager

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!