Solved

Including comments in PDF files in SVG files?

  • 29 August 2022
  • 4 replies
  • 61 views

Hi there,
 

I’m new to Cognite in general, but one task that my team is looking into is utilizing Cognite’s SVG files in our LCI and Plant Management applications and I have been looking into it somewhat.

Not knowing all the details of the SVG rendition capabilities, I do see that our customer ‘Interactive P&IDs’ dataset in CDF has SVGs renditions without the comments that are in the PDF files (where applicable).


Would Cognite be able to include the comments - now or in the future?

The reason this is relevant for us is that a number of our doc profiles only have PDF files. Typically old documents on old installations.
We’re missing native files (DGN, DWG), thus contractors are updating these drawings using comment features such as clouds, text, lines, etc in Adobe. That information seems to disappear in SVG renditions, but it’s quite critical information, especially in Plant Management systems.

 

Thanks for listening to me!

Best regards,
Erik

icon

Best answer by Ola Liabøtrø 31 August 2022, 12:39

View original

4 replies

Userlevel 1

Hi!

Thanks for reaching out about this. We are in fact explicitly removing annotations in the pdfs. We have had pdfs where rendering comments rather obscured things for the user than the other way around. This is the first time that we hear about it being a problem in a production setting. Although a few weeks ago, someone trying to make a demo P&ID had the same problem.

I will create a task on it, most likely the solution will be to introduce a flag to include annotations. 

Hi Ola,

That sounds terrific - thanks for your quick reply!

It just goes to show that not all use cases are similar and someone always has a different perspective ;-) 
And that I need to be careful about “ordering” this change in our customer dataset without consulting the right people first.

Cheers,
Erik

Userlevel 1

It has taken some time, but we now include comments. There is no flag, we include comments/annotations always. The old problem we had with certain pdfs vanished after updating the pdf renderer. 

Svgs generated later than today should include comments. It could take some time to detect entities in the comments for old files still. There is a cache issue that we are also working on. 

Thanks for the feedback, Ola!

Regards Erik

Reply