shtirlitsDva / Revit-PCF-Exporter

An application for Autodesk Revit for exporting pipe information to PCF file format.
GNU General Public License v3.0
21 stars 7 forks source link

Problem PCF eporteur #51

Open mcindusbim opened 6 months ago

mcindusbim commented 6 months ago

Hello, I manage to compile the pcf exporter solution, but when loading Revit I get the following error. an idea? thanks image

mcindusbim commented 6 months ago

hi, It's Ok, an error in addin manifest. thanks

shtirlitsDva commented 6 months ago

;)

On Sat, 18 May 2024, 09.02 mcindusbim, @.***> wrote:

hi, It's Ok, an error in addin manifest. thanks

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2118670061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW3UHL5YA4HEZ3S2TK3ZC34I5AVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGY3TAMBWGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mcindusbim commented 6 months ago

hi, I've some problem to export, all pipe and fitting have a SKEY parameter but at the end >>> Export PCF there are an execption.

image ---- EXPORT PCF ----.zip

shtirlitsDva commented 6 months ago

Yes, the program has evolved a lot since the docs were written. You are missing a LDT file. There's one example file in the repo - LDT.xlsx.

On Sat, 18 May 2024, 11.15 mcindusbim, @.***> wrote:

hi, I've some problem to export, all pipe and fitting have a SKEY parameter but at the end >>> Export PCF there are an execption.

image.png (view on web) https://github.com/shtirlitsDva/Revit-PCF-Exporter/assets/168081331/a022cd1e-ed54-4007-a03a-13e7df22c3d0 ---- EXPORT PCF ----.zip https://github.com/shtirlitsDva/Revit-PCF-Exporter/files/15361382/----.EXPORT.PCF.----.zip

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2118730313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW33YP5SJB5T3NLNYN3ZC4L3FAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYG4ZTAMZRGM . You are receiving this because you commented.Message ID: @.***>

ren26-1984 commented 1 month ago

GOOD NIGHT Thanks for sharing the code I manage to export the pcf file but the ITEM-CODE and ITEM DESCRIPTION do not appear greetings Renzo R. PCF

shtirlitsDva commented 1 month ago

Item code and description are not needed if one uses item list at the end of the file. It actually makes ISOGen error in certain situations.

On Wed, 16 Oct 2024, 02.48 ren26-1984, @.***> wrote:

GOOD NIGHT Thanks for sharing the code I manage to export the pcf file but the ITEM-CODE and ITEM DESCRIPTION do not appear greetings Renzo R. PCF.png (view on web) https://github.com/user-attachments/assets/6aeb874b-1df7-4db7-809f-744204e0dcc9

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2415410690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW2IWT6ANRAK7BFSRPTZ3WZWZAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVGQYTANRZGA . You are receiving this because you commented.Message ID: @.***>

ren26-1984 commented 1 month ago

Good afternoon If the bill of materials comes at the end in the PCF file, that's why I can't correctly generate the iso in plant 3d image image

The correct way to output the pcf file so that it can be read by plant 3d is as it appears in the video that you show on YouTube image

pcf generated by the 3d plant itself image

How can I do it? to get the ITEM-CODE and THE ITEM-DESCRIPTION when exporting the PCF file since it is the correct way that plant 3d will read it to generate the isometric

shtirlitsDva commented 1 month ago

The problem is that I don't work with Plant3d any longer. P3d does not follow latest pcf specification.

On Wed, 16 Oct 2024, 15.46 ren26-1984, @.***> wrote:

Good afternoon If the bill of materials comes at the end in the PCF file, that's why I can't correctly generate the iso in plant 3d image.png (view on web) https://github.com/user-attachments/assets/d5e5d6d5-702d-4eae-98f5-ef244425c9d6 image.png (view on web) https://github.com/user-attachments/assets/476d7da3-fe7e-42b6-9416-a8990fe0006f

The correct way to output the pcf file so that it can be read by plant 3d is as it appears in the video that you show on YouTube image.png (view on web) https://github.com/user-attachments/assets/24f70725-aadd-4a47-9f5c-20166c0803fc

pcf generated by the 3d plant itself image.png (view on web) https://github.com/user-attachments/assets/a71b09f2-af72-48ec-a919-8c78563250cc

How can I do it? to get the ITEM-CODE and THE ITEM-DESCRIPTION when exporting the PCF file since it is the correct way that plant 3d will read it to generate the isometric

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2416891018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW46OEEXV3MS26H5TSDZ3ZU2BAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJWHA4TCMBRHA . You are receiving this because you commented.Message ID: @.***>

shtirlitsDva commented 1 month ago

Hello. I don't have a video in English right now. Your model looks rather complex. It is hard to start using the program on a large model as you cannot easily locate problematic parts if you don't have experience using the program. You can try start exporting small parts of model to start with. If you cannot get started on your own, my company can provide consultancy in converting Revit piping to PCF.

On Thu, 17 Oct 2024, 11.35 michael22271, @.***> wrote:

hello i need to export a file of piping in revit to pcf file and from pcf to caepipe Capture.PNG (view on web) https://github.com/user-attachments/assets/d2cf0cfd-7b12-4c9a-af1f-794adb04d11b if somone hav a vedio explained how to export from revit to pcf i appreciate thank you

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2419040936, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWWZJM4TUEDFWDP6LRE3Z36AENAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGA2DAOJTGY . You are receiving this because you commented.Message ID: @.***>

michael22271 commented 1 month ago

Hello,

Thank you for your feedback. I understand that the model is quite complex. Do you have any tutorial videos available in another language besides English? That could help me better understand the process.

Additionally, could you provide me with the cost for assistance in exporting a similar model to PCF format?

Thank you in advance for your response.

Best regards,

Le jeu. 17 oct. 2024 à 12:05, shtirlitsDva @.***> a écrit :

Hello. I don't have a video in English right now. Your model looks rather complex. It is hard to start using the program on a large model as you cannot easily locate problematic parts if you don't have experience using the program. You can try start exporting small parts of model to start with. If you cannot get started on your own, my company can provide consultancy in converting Revit piping to PCF.

On Thu, 17 Oct 2024, 11.35 michael22271, @.***> wrote:

hello i need to export a file of piping in revit to pcf file and from pcf to caepipe Capture.PNG (view on web) < https://github.com/user-attachments/assets/d2cf0cfd-7b12-4c9a-af1f-794adb04d11b>

if somone hav a vedio explained how to export from revit to pcf i appreciate thank you

— Reply to this email directly, view it on GitHub < https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2419040936>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AC5QWWZJM4TUEDFWDP6LRE3Z36AENAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGA2DAOJTGY>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2419104762, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMGDCTECZ5ZOK3MWBPETEA3Z36DWFAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGEYDINZWGI . You are receiving this because you commented.Message ID: @.***>

shtirlitsDva commented 1 month ago

Hello I have this video in russian: https://youtu.be/V7ZybuvRK30?si=gfOrimhAsiwKVRyP

I need to see the model before I can quote any prices. I have to see how model was made and how much work it would take to make it work with my program.

On Thu, 17 Oct 2024, 14.12 michael22271, @.***> wrote:

Hello,

Thank you for your feedback. I understand that the model is quite complex. Do you have any tutorial videos available in another language besides English? That could help me better understand the process.

Additionally, could you provide me with the cost for assistance in exporting a similar model to PCF format?

Thank you in advance for your response.

Best regards,

Le jeu. 17 oct. 2024 à 12:05, shtirlitsDva @.***> a écrit :

Hello. I don't have a video in English right now. Your model looks rather complex. It is hard to start using the program on a large model as you cannot easily locate problematic parts if you don't have experience using the program. You can try start exporting small parts of model to start with. If you cannot get started on your own, my company can provide consultancy in converting Revit piping to PCF.

On Thu, 17 Oct 2024, 11.35 michael22271, @.***> wrote:

hello i need to export a file of piping in revit to pcf file and from pcf to caepipe Capture.PNG (view on web) <

https://github.com/user-attachments/assets/d2cf0cfd-7b12-4c9a-af1f-794adb04d11b>

if somone hav a vedio explained how to export from revit to pcf i appreciate thank you

— Reply to this email directly, view it on GitHub <

https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2419040936>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AC5QWWZJM4TUEDFWDP6LRE3Z36AENAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGA2DAOJTGY>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2419104762>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BMGDCTECZ5ZOK3MWBPETEA3Z36DWFAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGEYDINZWGI>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2419371691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWWZB6ZUHYFHGFHRN6KLZ36STTAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGM3TCNRZGE . You are receiving this because you commented.Message ID: @.***>

ren26-1984 commented 1 month ago

GOOD MORNING How would I make the output PCF include the bolts and gaskets? and finally achieve this in the isometric image

shtirlitsDva commented 1 month ago

Hello That is not simple. These things do not exist in Revit, so one has to add them purely in the program based on some conditions. I have added possibility to add gaskets in conjunction with a specially modified flange family. I don't have bolts so far. Anyway, that is quite complex task.

On Thu, 17 Oct 2024, 16.24 ren26-1984, @.***> wrote:

GOOD MORNING How would I make the output PCF include the bolts and gaskets?

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2419701647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW7MPO5AXETJTZ6BIOLZ37CDDAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZG4YDCNRUG4 . You are receiving this because you commented.Message ID: @.***>

mcindusbim commented 1 month ago

Good morning, I work in the industrial water sector. I had the same problems getting ISO from REVIT with the number, size of bolts and joints. We created flange families with all this information. If you want, we can help you Sincerely image image

mcindusbim commented 1 month ago

We have DN15 to DN2000 and PN6 to 400 flange family (EN1092-1, type 11, type 05, type 01) There are more than 500 types of flange. In addition, we can also provide you with pipe accessories (valves, flange adapters, filters, etc.) And pipe with fitting (Full REVIT parametric family) -STAINLESS 316L, 304L -P265 GH -PEHD -PVC-U -PVC-C

image image

michael22271 commented 1 month ago

image how i fix this issue ?

shtirlitsDva commented 1 month ago

That is not my program?

On Fri, 18 Oct 2024, 14.43 michael22271, @.***> wrote:

image.png (view on web) https://github.com/user-attachments/assets/b325845c-87db-4a55-aed3-f1772060084d how i fix this issue ?

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2422391068, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWWYOYCJGMCEVUTRWWS3Z4D667AVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGM4TCMBWHA . You are receiving this because you commented.Message ID: @.***>

mcindusbim commented 1 month ago

no, I tried with your program but on complex projects I cannot do what the client wants.

shtirlitsDva commented 1 month ago

yes, Revit is very flexible and one has to somehow create a system that has a number of assumptions to make it work. These assumptions is what is preventing any model to be exported out of the box. So one has to know the assumptions to modify your model to be able to work with PCF export. My recommendation is to start with a small system -- a pipe, some fittings and start working to make it work. You can achieve export for a whole system when you have modified your model to be in accordance with the governing assumptions of the program. I can provide consultancy to make it work on your model. I need to see your model first, though.

On Fri, 18 Oct 2024 at 17:38, mcindusbim @.***> wrote:

no, I tried with your program but on complex projects I cannot do what the client wants.

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2422749955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW4HAZQM6ZYDJA5EPJ3Z4ETN3AVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSG42DSOJVGU . You are receiving this because you commented.Message ID: @.***>

ren26-1984 commented 1 month ago

good morning I have put the gaskets and bolts in the revit so that they appear in the isometric image

Would there be a way to automatically fill in the PCF data table elements in Revit based on the family parameters (pipes, elbows, flanges, bolts, etc.)

image

ren26-1984 commented 1 week ago

Good afternoon Thanks for sharing the code

There would be a method class to link the shared parameters to the family directly, because I have created a family of bolts and I need their quantity, diameter and length data to be read directly from the family since I would read them from the table inserted in the family so that they appear in the output of the pcf file. image

thank you greetings Renzo R.

shtirlitsDva commented 1 week ago

there is definitely is a possibility to add bolts to pcf, if you have them as separate fitting elements. The family centre points must coincide with pipe centre line. You need one more parameter BOLT-ITEM-CODE image

Length is not mandatory, but I am including it anyway.

shtirlitsDva commented 1 week ago

Okay, I've added a component BOLT. You need to remove the parameters you have created yourself and reimport Revit_PCF_Exporter parameters (first top button on first tab). Then the new code should work: d927fcd3ab00ca703c977b8d2c3d924bfd1ae5f2

ren26-1984 commented 1 week ago

Good afternoon thank you very much for responding

I exported the shared bolt parameters created previously as a txt file and imported them directly into the family and linked them to a lookup table and now in the project when I insert the bolts for each bride diameter they are updated based on the diameter and exported in the pcf file thank you very much for sharing the code

https://github.com/user-attachments/assets/6b8b19df-a1e8-448f-ad56-2fe60a390c87

ren26-1984 commented 1 week ago

https://github.com/user-attachments/assets/a2651afb-40e4-445b-8d5c-77a2468f5f13

ren26-1984 commented 1 week ago

Good night When joining pipes in revit directly welded (stub in) and then exporting them to pcf to generate the isometrics in 3d plan, the perpendicularly connected pipes go to the ends of the main pipe and do not come out in their original position in the isometric the tap-connection of the TEE-STUB takes the coordinate of the ends

Could you please, is there something I'm doing wrong?

image

image

image

This is what the routing directly generates in the 3D plant

image

In the output of the PCF files, the coordinates of the tap connections are stored in the main pipe

image

shtirlitsDva commented 1 week ago

Give me a small example revit file

On Wed, 20 Nov 2024, 02.55 ren26-1984, @.***> wrote:

Good night When joining pipes in revit directly welded (stub in) and then exporting them to pcf to generate the isometrics in 3d plan, the perpendicularly connected pipes go to the ends of the main pipe and do not come out in their original position in the isometric

Could you please, is there something I'm doing wrong?

image.png (view on web) https://github.com/user-attachments/assets/d4e6abaf-d8d3-4f81-af6f-ad118c614f8d

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2487154594, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW74NR3XHMZDEMQ5Z2T2BPT2XAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXGE2TINJZGQ . You are receiving this because you commented.Message ID: @.***>

shtirlitsDva commented 1 week ago

This could be a P3D issue, they do not follow the PCF Specification. Also, you might use some other method to connect pipes. I can see you use a Revit spud to model the connection. It is written as TEE-STUB and it has its' own tap-connections. I think this confuses the import. If you want to use tap connection, you need to have a spud that connects the pipe outer diameter.. try the attached one. It just needs TAP for PCF_ELEM_TYPE and it will not show up in material table, as its' purpose is only linking the tapping pipe to the main pipe. TAP 1 2 3 parameters must be cleared, if you have anything in them. Stub-in_2022.zip image

shtirlitsDva commented 1 week ago

Also note that I've just updated master branch with latest additions, so you need to switch to master branch

mcindusbim commented 1 week ago

Good morning, What software do you use to create isometric plans? thanks (isogen, procad, other) thnaks

shtirlitsDva commented 1 week ago

Isogen

On Wed, 20 Nov 2024 at 09:26, mcindusbim @.***> wrote:

Good morning, What software do you use to create isometric plans? thanks (isogen, procad, other) thnaks

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2487869505, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW4AHI4RM7RQ2PGHP2T2BRBUZAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXHA3DSNJQGU . You are receiving this because you commented.Message ID: @.***>

mcindusbim commented 1 week ago

it's standalone version, or by token ? do you know the price ?

shtirlitsDva commented 1 week ago

we have tokens and I don't know the exact price.

On Wed, 20 Nov 2024 at 10:23, mcindusbim @.***> wrote:

it's standalone version, or by token ? do you know the price ?

— Reply to this email directly, view it on GitHub https://github.com/shtirlitsDva/Revit-PCF-Exporter/issues/51#issuecomment-2488000388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5QWW2V5WZEPKKJQKEG5NL2BRIINAVCNFSM6AAAAABH5HAHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBYGAYDAMZYHA . You are receiving this because you commented.Message ID: @.***>

ren26-1984 commented 1 week ago

Good morning Thank you very much for responding I tried exporting the stub in to PCF but I get an isometric for each pipe I attach the files I tested with

image

image

image

image

ren26-1984 commented 1 week ago

I attach the files I tested with https://we.tl/t-xWKESLJycI garno1sz.db4.txt

ren26-1984 commented 6 days ago

Good morning I managed to generate the isometers with the export of PCF with the stub-in and I see that some dimensioning errors appear. It only generates dimensioning in a single stub-in where the welding symbol appears and the line of the main pipe drawn in the isometric does not appear. It is the axis of the pipe and would be the line of the outside diameter

image

image

This is the same routing and isometric generated directly in the plant 3D

image

image

I attach the test files https://we.tl/t-iFEX73DpoS

Could you please help me, I will try to find the solution for myself.

thank you so much greetings renzo r.

shtirlitsDva commented 6 days ago

I've identified the problem here. It is because you use "Selection" export. Try to delete all other elements and export only "Specific pipeline" and use my tap method. I didn't test your tee-stub. I do not use "Selection" much, so it is not very developed, and it has a bug, when working with taps it creates too many end-connection-pipeline: image And the PCF parser gets confused. So, delete all other elements and export specific pipeline then it will work. Or you can manually delete the not correct end-connection-pipeline entries from pcf if you absolutely must use selection in this case.

shtirlitsDva commented 6 days ago

This is what I get from Isogen without the superfluous end-connection-pipelines: image

ren26-1984 commented 5 days ago

Yes, I was right, now the dimensions are generated correctly in the isometric but the line of the main pipe in the isometric is not the axis of the pipe but the line of the outside diameter

and if I am using using the stub-in family that he sent me

image

image

ren26-1984 commented 1 day ago

Good afternoon

The problem that the isometric generated in a 3D plan does not dimension from the axis of the central pipe is that there is no component with the connection coordinates to the main pipe. In this case it would be a weld.

WELD END-POINT X Y Z END-POINT X Y Z SKEY WW PIPING-SPEC CS-150

Once this component is obtained in the code and in the pcf output file, the 3d plant will generate the correctly bounded isometric
from the axis of the central pipe to the unconnected end of the pipe

image isometric generated with the WELD elements included in the PCF file

image isometric generated without the WELD elements included in the PCF file

I attach the pcf files with which I generated the isometrics PCF with weld component.zip PCF without weld component.zip

Could you please help me, I will try to edit the code to see if I can get the output of this component in the pcf file

greetings Renzo R.