How to change the flow arrow classes


Applies To 
Product(s):OpenPlant PowerPID
Version(s):V8i Selectseries 3+
Environment: N/A
Area: N/A
Subarea: N/A
Original Author:Gerd Eichler, Bentley Product Advantage Group

Introduction

To insert or associate flow arrows with a pipe run it must be defined in the FLOW_ARROW_MAPPING custom attribute. For this exercise you need to have two new cells Main_Proces_Flow_Arrow and Instr_Flow_Arrow

Naming conventions

This article covers releases for SS3 and greater. The version 01.0x will apply to all.  This version number would correspond to the specific schema version 01.01, 01.02, 01.03,....

Tasks

  1. Start the ECClassEditor 
  2. Open the OpenPlant_PID.01.0x.ecschema.xml schema
  3. Create two new classes
    1. "MAIN_PROCESS_FLOW_ARROW"
    2. "INSTRUMENT_FLOW_ARROW"
  4. Find the "PIPE_RUN" and "INSTRUMENT_LINES" classes
  5. On these classes is the FLOW_ARROW_MAPPING attribute
  6. Change the directional or bi direction classes

Create new Flow Arrow classes

Element Template: Piping\Misc_Piping
Cell Name: Main_Proces_Flow_Arrow
Cell Library: Piping.cel

Name: FLOW_DEPENDENT

Display Label: Flow Dependent

Description: Direction depends on flow

→ Repeat the steps for INSTRUMENT_FLOW_ARROW and fill in Instr_Flow_Arrow as CellName

Associate the new flow arrow classes with the Pipe Run and the Instrument Lines class

Select the class Pipe Run (select the Class tab if you're still on the property pane)

In the FLOW_ARROW_MAPPING custom attribute change the value for the Directional Class Name to MAIN_PROCESS_FLOW_ARROW and click the Save button.

Select the class Instrument Lines (select the Class tab if you're still on the property pane)

In the FLOW_ARROW_MAPPING custom attribute change the value for the Directional Class Name to INSTRUMENT_FLOW_ARROW and click the Save button.

Click the Save icon  to save the OpenPlant_PID.01.0x.ecschema.xml schema

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!