You are currently reviewing an older revision of this page.
When importing a PCF file, how to map the line numbers so they appear in the program?
Open the PCF translator, select Help> User Reference. Search the PDF for Line number.
Under Section 3: Settings is a section on Line Class and Line Numbers.
By default:
Pipe Properties Line class data is mapped from the PCF PIPING-SPEC field
Segment Line number data is mapped from the PCF MISC-SPEC1 field
Note, one can open the PCFIN.MAP file and change these mapping settings as needed. Otherwise the data in these fields from the PCF file will appear in the newly created AutoPIPE model accordingly.
If either the "Pipe Properties Line class" or "Segment Line number are blank:
Means PCF file does not have legitimate data in the fields as specified in the PCFIN.MAP file:
1. Confirm PCF file has legitimate data in the correct fields. Update original model used to create the PCF file and regenerate a corrected PCF file to be imported into AutoPIPE
2. Redefine the PCFIN.MAP file settings to remap LINECLASS and/or LINENUMBER, fields to the correct fields in the PCF file containing this data
After importing PCF file into AutoPIPE, Segment Line number was found to be blank. Why?
After review, the PCFIN.MAP file had the default settings. However see the following section from the original PCF file,
Question:
What is wrong with the PCF file?
(hint: look at the PCFIN.MAP file, what is the line nmber mapped to?)
Answer:
The MIS-SPEC1 field is completely missing. Therefor the original program that created the PCF file did not export this data field or there was no data to be exported. Regardless, problem is with the original program that created the PCF file. Note, user can manually update the PCF file with the proper data. Example: add line number "1234-ABCD" to the PCF file:
Step #1, open the PCF in any word processing application
Save, convert, re-open the new model in AutoPIPE, and review the input grid, Segment tab:
Now, line number is correctly imported from PCF file
PCF Translator FAQ & troubleshooting
Bentley AutoPIPE