06. How can I tell what AutoPLANT component in a PXF file is mapped too in an AutoPIPE model?


Applies To
Product(s):AutoPIPE,
Version(s):2004, XM, & V8i
Environment: N/A
Area: Import
Subarea:
Original Author:Bentley Technical Support Group

Dec 2014, AutoPIPE V8i 09.06.01.10

Problem:

How can I tell what AutoPLANT component in a PXF file is mapped too in an AutoPIPE model? 

Answer:

See the following procedure:

1. Open the AutoPLANT PXF file in any text editor (i.e. NotePAD, Ultra EDIT, MS WORD, etc..)

2. Search PXF file for 2000 or 2100, should be first item on a line. example:

2100 AT_PIPE

2100 AT_VALVE_BALL

2100 AT_SUPPORT_BASE

etc..

3. Open AutoPIPE CADAP.MAP file in any text editor (i.e. NotePAD, Ultra EDIT, MS WORD, etc..)

4. Search CADAP.MAP, CLASS MAPPING TABLE for item name listed after 2000 or 2100 (ex: AT_PIPE, AT_VALVE_BALL, etc.. ).

      'AT_PIPE                         '     0    'PIPE    '   // Base components

5. Scroll in the file to the top of the listing to see the section details:

Example:

//////////////////////////////////////////////////////////////////////
// CLASS MAPPING TABLE (MAX. 2000)
// COLUMN 1 : AUTOPLANT'97 COMPONENT CLASS SPECIFIED IN CODE 2100
// COLUMN 2 : ITEM TYPE AS USED IN AUTOPIPE.  MUST BE MAPPED TO ONE
//            OF THE DESIGNER COMPONENT TYPE (CODE 2000).
// COLUMN 3 : MENU REFERENCE KEY USED BY DESIGNER (CODE 2001)
//
// USRCLASS.MAP COMPLEMENTS THIS TABLE
//
// NOTE: AUTOPIPE SUPPORTS BOTH THE NEW (AUTOPLANT'97-CODE 2100) AND
//       OLD (DESIGNER-CODE 2000) FORMATS.  AUTOPLANT'97 COMPONENTS
//       (CODE 2100) ARE MAPPED TO EQUIVALENT DESIGNER COMPONENTS
//       (CODE 2000 AND CODE 2001)
//////////////////////////////////////////////////////////////////////

Based on this information,Column #2 identifies exactly what component the item is mapped too (ex. 0)

6. Scroll down to COMPONENT MAPPING TABLE,

Note: there are a total of 22 AutoPIPE components to map the over 1000's of AutoPLANT components too. Some of these AutoPIPE components have additional sub categories to address specific types of components that have some special features ( i.e. 17 different types of Supports components, 22 different types of component end connections, 15 different types of insulation, etc). But, remember there is only 22 different types of core AutoPIPE components to map too.

Continue by referring to the column information above this table that describes the meaning of each column in this table and then search column # 1 for the item number in above step (ex. 0) note in column #2, AutoPIPE component (ex. PIPE).

Ex: find "00   'PIPE'  : PIPE OR PIPE BEND, IF RADIUS GIVEN ==> ELBO"


7. Conclusion: AutoPLANT PXF AT_PIPE is mapped to a PIPE component in AutoPIPE.

Complete Example in summary of above steps:

a. In a PXF file search for 2000 or 2100 shows the following: 2100 AT_PIPE.

b. Search the CADAP.MAP file, Class mapping table, for AT_PIPE find the following: 'AT_PIPE  '     0    'PIPE    ' 

c. Scrolling to the top of this Class Mapping table to understand column details, as noted AutoPIPE component mapping is per column # 2, which was found to be =   0

d. Scroll down to COMPONENT MAPPING TABLE, find 0 in table,  again review what each column in the table means by information at the top of the table, understand that column #2 was found to be "COMPONENT NAME AS USED IN AUTOPIPE", ex. PIPE

e. Conclusion PXF AT_PIPE is mapped to a PIPE component in AutoPIPE.

Note:

 


 

Newly Mapped Components

During the import process if a component is not already mapped, a dialog will appear allowing the user to specify what AutoPIPE component the un-mapped item will be mapped to. Once each dialog is accepted, mapping data will be written to the corresponding user mapping file. The file names start with USR and ends with extension MAP as follows:

USRCLS.MAP Class mapping
USRSCH.MAP Schedule mapping
USRRAT.MAP Rating mapping
USRMAT.MAP Material grade mapping
USRINS.MAP Insulation mapping

These files are not shipped with the AutoPIPE and will be written when needed for missing data. If the user wants to cancel their mapping entries, the file may be deleted with no serious effect. Then again, when importing a PXF file that have components that are not mapped, the dialog will appear where the user will be required to re-map each component not already mapped.

To understand the format of data in each USER***.MAP file, refer to the CADAP>MAP file in the AutoPIPE folder as mentioned above. At the top of each section is detailed information about the data format

Example:

USRSCLS.MAP file format refer to CADAP.MAP CLASS MAPPING TABLE 

Column #1 - AutoPLANT CODE 2100 designations

Column #2 - AutoPIPE component to be mapped too

Column #3 - Menu reference item type, Obsolete, retained for compatibility with old version - Use Class Name code 2100 instead.

See Also

Bentley AutoPIPE

External Links

Bentley Technical Support KnowledgeBase

Bentley LEARN Server

Comments or Corrections?

Bentley's Technical Support Group requests that you please submit any comments you have on this Wiki article to
the "Comments" area below. THANK YOU!