Skip to main content
Practitioner ⭐️
December 12, 2022
Solved

Learn Cognite Reveal

  • December 12, 2022
  • 31 replies
  • 539 views

I work cognite reveal 3d images  in angular v12.1.1.  I using NPM  npm i @cognite/reveal@3.3.0 ,  @cognite/sdk@7.14.0 and  @cognite/potree-core@1.5.2,  Cognite reveal AxisViewTool is not working. 

error: (Module '"@cognite/reveal"' has no exported member 'AxisViewTool'.)

 

Best answer by Karthik Kaliyaperumal

Click Object enable blue color with outline, How do this ?

 

31 replies

Practitioner ⭐️
December 19, 2022

If any example code available, please share me.

Practitioner ⭐️
December 19, 2022

I am use CogniteCadModel class, I facing issue given below

 

 

Lars Moastuen
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
December 19, 2022

You cannot construct `CogniteCadModel`, you need to create it using `Cognite3DViewer.addCadModel(...)`. Please see https://cognitedata.github.io/reveal-docs/docs/examples/cad-basic and https://cognitedata.github.io/reveal-docs/docs/api/classes/cognite_reveal.Cognite3DViewer#addcadmodel.

Lars Moastuen (Software Engineer, Atlas AI)
Practitioner ⭐️
December 19, 2022

Thanks 

Practitioner ⭐️
December 23, 2022

hi,  I have one doubts, https://docs.cognite.com/api/v1/#tag/3D-Model-Revisions/operation/list3dModelOutputs

const nodes3d = await client.revisions3D.list3DNodes(8252999965991682, 4190022127342195), list3dNodes is allow limit 1000 only,  How to get all node? 

 

Expert ⭐️⭐️⭐️⭐️
December 28, 2022

Hi @Karthik Kaliyaperumal, thanks for your question. Just want to let you know that there will be a bit of a delay in responding to it. 

Wishing you happy holidays and a great start to 2023!

Carin

Lars Moastuen
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
January 2, 2023

@Karthik Kaliyaperumal: This is due to pagination - see https://docs.cognite.com/api/v1/#section/Pagination. The SDK supports pagination, see https://cognitedata.github.io/cognite-sdk-js/globals.html#cursorandasynciterator for details on how to retrieve all items.

Lars Moastuen (Software Engineer, Atlas AI)
Practitioner ⭐️
January 9, 2023

Hi, I click object get overlay message, its working fine no issue, I have another doubt. If I Mouse hover “Overlay”, I want show another message. how to do that, Please tell 

Practitioner ⭐️
January 10, 2023

I try to double click “overlay”, get above this error,

 

 

Lars Moastuen
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
January 10, 2023

This is outside the scope of Reveal and I’m not sure what the problem is. As for overlays not being interactable it’s because events is disabled in CSS in the example (https://cognitedata.github.io/reveal-docs/docs/examples/cad-2doverlay) using:

pointer-events: none;
touch-action: none;

 

Lars Moastuen (Software Engineer, Atlas AI)