Workflow to Retrieve Piping Data

You can create a report to retrieve piping data. The following scenario shows how you can retrieve attributes from a connection.

Recommendation: In the following scenario, the variable default names are kept. Customize these names to clarify the report template.


Before you begin: In Piping & Tubing Systems Design:
  • Create a logical reference.
  • Under the logical reference, create a system containing two piping lines IDs.
    1. The first piping groups two valves and define their nominal size.
    2. The second piping groups a valve, an instrument and a miscellaneous.


See Also
About Workflow Overview
About the Creation of Shortcut Methods
  1. To define a report template for piping data:
    1. From the Parameters area of the Properties tab, click New .
    2. Optional: : In the Name field, enter log.

      The input parameter type for this method is Logical Reference. By default, the name of the created input parameter is p.

      Note: This parameter can be renamed as well as for all iteration variables. For more information, see Renaming Template Elements.

    3. From the Type list, select Logical Reference.
  2. From the Structure tab, to display the component name and its nominal size:
    1. Drop Table in the work area.
    2. In the first cell, drop Text and enter Comp Name.
    3. In the second cell, drop Text and enter N S.


  3. To access the piping data:
    1. From the Data tab, expand the following variables and categories.
    2. Drop the methods to the work area.
    Variable and Type Category Method Work Area
    Logical Reference (log) Extensions Get All Sub-Components Empty space
    RFLVPMLogicalInstance (subComp) Types As Piping Logical Instance Entity Loop on Get All Sub-Component of log: subComp
    Piping Logical Instance Entity (pipLogInstEnt) Types As Piping Logical Part Inst Loop on As Piping Logical Instance Entity of subComp: pipLogInstEnt
    Piping Logical Part Inst (pipLogPartInst) Fluidic Get Connection List Loop on As Piping Logical Part Inst of pipLogInstEnt: pipLogPartInst
  4. To display the piping values:
    1. From the Structure tab, drop Table in Loop on Get Connection List of pipLogPartInst: pipLineConn.
    2. From the Data tab, expand the following variables and categories.
    3. Drop the method to the work area.
    Variable and Types Category Method Work Area
    Piping Logical Part Inst (pipLogPartInst) Attributes Name First cell of the row in the table, in Loop on Get Connection List of pipLogPartInst: pipLineConn.
    Piping Line Cnx (pipLineConn) Attributes V NominalSize Second cell of the row in the table, in Loop on Get Connection List of pipLogPartInst: pipLineConn.

Result: In this example, the template is defined to display:

  • The name of the piping logical part.
  • The nominal size of the connection.


You can visualize the report file to be generated. For more information, see Previewing Reports.