Skip to main content
Solved

Visualisation of P&ID annotations not showing in Fusion when connected to nodes in Data Model

  • October 21, 2024
  • 3 replies
  • 53 views

Hi,

I was testing annotating P&ID documents towards nodes from a data model. It worked and the annotations are available through the API, but is not showing in the preview of the file. When the annotations are towards assets or files (from the asset-centric model) then it shows as expected, but when towards a node it isn’t. I am not sure if this is a bug or a future feature yet to be implemented.

To be clear, I am annotating a File (not a CogniteFile from core data model). And the annotation is created and connected to the file and points to specific instances in a data model, but I see no way to visualize this is in Fusion.

 

Regards,
Markus Pettersen
Aker BP - Data Delivery

Best answer by Elka Sierra

Hi @Markus Pettersen ,

Thank you for your question! If I understand correctly, you're using the Annotations API to link annotations to nodes within a data model, and while the annotations are successfully created and accessible via the API, they aren't visible in the file preview within Fusion.

This behavior is expected due to the differences in how annotations are handled. The Annotations API is part of Cognite's classic services, which don't natively support data models. As a result, linking annotations directly to data model nodes won't display them in the file preview.

To visualize annotations in the context of a data model, you'll need to use CogniteAnnotations in conjunction with CogniteFiles, which are part of Cognite data model services. This combination allows for proper integration and visualization of annotations in Fusion in the context of data models.

So essentially, mixing the Annotations created from the Annotations API with nodes in a data model would be like combining two incompatible systems. 

Hope this answers your question

Best regards,
Elka

 

View original
Did this topic help you find an answer to your question?

3 replies

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

Hi @Markus Pettersen, I’ll check on this and get back to you with an update.


Elka Sierra
MVP
Forum|alt.badge.img
  • MVP
  • 96 replies
  • Answer
  • October 22, 2024

Hi @Markus Pettersen ,

Thank you for your question! If I understand correctly, you're using the Annotations API to link annotations to nodes within a data model, and while the annotations are successfully created and accessible via the API, they aren't visible in the file preview within Fusion.

This behavior is expected due to the differences in how annotations are handled. The Annotations API is part of Cognite's classic services, which don't natively support data models. As a result, linking annotations directly to data model nodes won't display them in the file preview.

To visualize annotations in the context of a data model, you'll need to use CogniteAnnotations in conjunction with CogniteFiles, which are part of Cognite data model services. This combination allows for proper integration and visualization of annotations in Fusion in the context of data models.

So essentially, mixing the Annotations created from the Annotations API with nodes in a data model would be like combining two incompatible systems. 

Hope this answers your question

Best regards,
Elka

 


Thanks, that clears it up. That is as I suspected, good to have it confirmed. Now we can decide on how to proceed going forward.

 

Regards,
Markus


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings