I have followed the resolvent about this question in "https://communities.bentley.com/products/pipe_stress_analysis/w/pipe_stress_analysis__wiki/32163/03-how-to-map-segment-name-to-an-specific-attribute-using-pcf-translator-in-autopipe"
My PCF file:;
My pcfin.map :
I have reset the pcfin.map. But I still can not get the result I want.
The actual result is as follow:.
The result I want is:
My Autopipe version is 10.01.00.08.
Hello Nie,
Please be careful when performing this work. When working with mapping files and libraries, 1 mistake can render the file useless. Confirm the following:
1. PCFIn.MAP file location = %appdata%\ Bentley\PCF Translator\ PCFin.MAP
2. In your PCF file, there needs to be a PIPELINE-REFERNCE line for every component in the model. Note, your screen shot above shows PIPELINE_REFERENCE in the header with no indication if this line exists for each component.
Please confirm and reply.
Regards,
Mike DattilioBentley Systems Design AnalystDesign Engineering Analysis group===================================================
Hi Mike,
Thanks for your reply.
1. The location is right.
2. My PCF file is as below. The PIPELINE_REFERENCE is only in the header. Does it means that I can not map the Line Number in this way.
AP2-U550-350-4601 - Copy.PCF
Hello NIe,
You can place a line number reference in the header, but this will set the line number for the entire model. Typically any branches or pipe changes would be a different line number. If that is not the case for you, the entire model is one line number, then YES place the information in the header as you have done.
However, be sure to update the pcfin.map file in the translator folder.
If your model has multiple line numbers, then you will need to remove this line number referenced in the header and suggest adding a line number reference attribute to each component. See the following changes made to your model.
If line number field is blank after importing a PCF file, check to be sure that components have the correct attribute tag, that the pcfin.map file has been updated correctly, and if any changes were made to the PCFin.map file, restart the PCF translator program.
Lastly, I have attached an updated version of the file you had posted at the bottom. This will import the model with 3 different line numbers (i.e. Line1, Line 2, and Line3). change these attribute settings as need.
Bentley.PCF
Answer Verified By: Mike Dattilio
I know this post is old, but I have the same problem. When using Mike's solution I get an error on each component, "Program unable to find pcf material."
Is there a workaround?
Greetings,
This is a completely different issue and deserves its own thread.
Regards, Mike Dattilio Design Analysis Engineering Group Senior Analyst Bentley Systems Inc=============================================================================