How to Fix Change Over Valve Symbols in OpenPlant Isometrics Manager


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

Overview

OpenPlant Isometrics Manager generates incorrect Symbols for Change Over Valves when generated through AuotPLANT Modeler. 

Problem Description

When a “Change_Over_valve” class is used through AutoPLANT Modeler and when its isometrics gets generated it produce a distorted graphical symbol. This is happening because of the cell file not present in cell folder and script has not defined for particular class. To execute the graphics which has Intersection points, scripts has been written to it. Since Change over Valve contains two intersection points, it should get defined in “ipscript.txt” file.
Below steps will provide solution to problem discussed above. This has been realized in context with AutoPLANT Modeler and OpenPlant Isometrics Manager.           

Steps to Resolve

It can be done in 3 steps:

A.   To Define & Map Class in Schema

B.   To Replace ipscript.txt file.

C.   To add custom graphics in cel file.

 A.   To Define & Map Class in Schema

  1. In Bentley Class Editor, Open “OpenPlant_3D.01.04.ecschema”.
    Check Default storage path:
    %Project Root%\Plant V8i\Bentley Plant V8i Projects\SAMPLE_METRIC\Config\ OpenPlant\schemas\

  2. Navigate to class “Pipe Return Bottom Outlet “. See below image to search.


  3. Right click on it & “Add Derived Class”. See image below.


  4. Create New Class “CHANGE_OVER_VALVE" and set Display Label as “Change Over Valve”.


  5. Add custom Attribute “AutoPLANT_PDW_Class_Map” to overide the present class mentioned which is coming from Parent class.
  6. To override, copy custom attribute ‘AutoPLANT_PDW_CLASS_MAP’ from Pipe return Bottom Outlet class. See image below.




  7. Paste it on new class defined class. 


  8. Select New Class and add new PDW class AT_VALVE_RELCHANGEOVER in custom attribute “AutoPLANT_PDW_Class_Map”. See image below.


  9. Save & Close Schema.

B.   To Replace ipscript.txt file.

  1. Request IT admin to provide the required permission to access the folders to modify or replace as per link attach here>>>>.
  2. Paste to below mentioned path. See image Below.
    C:\Program Files (x86)\Bentley\OpenPlantIsometricsManager V8i\OpenPlantIsometricsManager\config


  3. This should contain the script for Change Over Valve. See below.

    [SCRIPT]
    RULE: this.GetClass().Name = CHANGE_OVER_VALVE 

    # compute IP3
    A1  = Scale(V3, this.DESIGN_LENGTH_CENTER_TO_BRANCH_END_EFFECTIVE)
    IP3 = Subtract(P3, A1) 

    # make unit vector A2 parallel to component length:
    A2  = Subtract(P2, P1)
    A2  = Scale(A2, 1 / (this.DESIGN_LENGTH_CENTER_TO_RUN_END_EFFECTIVE + this.DESIGN_LENGTH_CENTER_TO_OUTLET_END_EFFECTIVE) ) 

    # make vector to intersection point IP1:
    A3  = Scale(A2, this.DESIGN_LENGTH_CENTER_TO_RUN_END_EFFECTIVE)

    # make vector to intersection point IP2:
    A4  = Scale(A2, this.DESIGN_LENGTH_CENTER_TO_OUTLET_END_EFFECTIVE * -1)

    # compute IP1 and IP2
    IP2 = Add(IP3, A3)
    IP1 = Add(IP3, A4)


C.   To add custom graphics in cel file.

  1. Download Custom_ChangeOver.cel file from here>>>>.
  2. Rename it to Custom.cel file to be able to use it directly in isometric.
  3. Replace this file to corresponding style folder as per requirement. See path below where default IFC style has been stored. 
    Path Below:
    %project Root%\SAMPLE_METRIC\Config\OpenPlant\Isometrics\styles\IFC\cell

  4. To inset this cell to existing custom.cel which already has some entry then check below steps to insert.
  5. Launch Configuration Dialog for OpenPlant Isometrics Manager.
  6. From Advanced Node, click on “Open Seed File”
  7. Go to Element >Cell. Attach File.


  8. Navigate to project path to corresponding style folder where custom.cel file has been stored.
  9. Select Custom.cel & open it.
  10. Right click on existing cell & click on “Open for Editing”.


  11. Open Model dialog & click on “Import Model” option. See image below.
  12. Select attached custom_ChangeOver.cel and click “OK”. 


  13. Cell got imported.
  14. Go to File > “Save Settings”
  15. Restart AutoPLANT Modeler and Generate Isometrics Drawing & verify results. See below image.
    AutoPLANT Modeler


    In OpenPlant Isometrics Manager:


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. 

See Also

communities.bentley.com/.../12647.modifying-symbols

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!