Skip to main content
17-Peridot
January 16, 2024
Solved

PDF File Attachment through CAD worker

  • January 16, 2024
  • 1 reply
  • 2193 views

Hi Guys,

 

Can we use the CAD Worker to publish the .drw into PDF after that can we get into "Described by Documents / Reference Documents".

WT Part is already linked with CAD .prt + .drw.

 

Please find the below image.

 

Regards,

Aj

Best answer by avillanueva

There are a number of places you can put that published PDF. I have ours going as a secondary file for the representation. Works well with Thingworx Navigate. I've seen people put it was secondary content to the EPMDocument which makes it easy to download from the Content tab of the drawing. You are asking to create a WTDocument with the PDF and link to the WTPart. Yes possible.

https://www.ptc.com/en/support/article/CS348518?source=search

You should investigate the AfterEDRLoader and make you customizations there. I would caution from a Config Management perspective, you are setting up a data management nightmare. You now have possible two sources of truth, the CAD drawing and the WTDocument. Its possible that they become out of sync. My advice it to keep things packed to a single object.

1 reply

avillanueva
23-Emerald I
23-Emerald I
January 16, 2024

There are a number of places you can put that published PDF. I have ours going as a secondary file for the representation. Works well with Thingworx Navigate. I've seen people put it was secondary content to the EPMDocument which makes it easy to download from the Content tab of the drawing. You are asking to create a WTDocument with the PDF and link to the WTPart. Yes possible.

https://www.ptc.com/en/support/article/CS348518?source=search

You should investigate the AfterEDRLoader and make you customizations there. I would caution from a Config Management perspective, you are setting up a data management nightmare. You now have possible two sources of truth, the CAD drawing and the WTDocument. Its possible that they become out of sync. My advice it to keep things packed to a single object.

17-Peridot
January 17, 2024

Thanks for the replay Mr. Avil,

I refer your your article it's really useful to me, but i want that pdf in WT Part. Here only we have EPM & New Document.

 

Can we do this same in WT Part.

 

Regards,

Aj

HelesicPetr
22-Sapphire II
22-Sapphire II
January 17, 2024

Hi @Amirtharaj_K 

It is possible if the CAD exists to do so with the AfterLoader but you need to rewrite it that PDF is saved on the WTPart. 

PetrH