Skip to main content
Practitioner ⭐️
Dec 12, 2022 10:49 AM UTC
Solved

Learn Cognite Reveal

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'.)

 

Practitioner ⭐️
Dec 16, 2022 7:17 AM UTC

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

 

31 replies

Practitioner ⭐️
Dec 19, 2022 6:44 AM UTC

If any example code available, please share me.

Practitioner ⭐️
Dec 19, 2022 6:54 AM UTC

I am use CogniteCadModel class, I facing issue given below

 

 

Lars Moastuen
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Dec 19, 2022 11:32 AM UTC

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 ⭐️
Dec 19, 2022 12:39 PM UTC

Thanks 

Practitioner ⭐️
Dec 23, 2022 5:14 AM UTC

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 ⭐️⭐️⭐️⭐️
Dec 28, 2022 6:32 AM UTC

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 ⭐️⭐️⭐️⭐️
Jan 2, 2023 10:18 AM UTC

@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 ⭐️
Jan 9, 2023 2:15 PM UTC

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 ⭐️
Jan 10, 2023 5:09 AM UTC

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

 

 

Lars Moastuen
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Jan 10, 2023 8:18 AM UTC

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)