I work cognite reveal 3d images in angular v12.1.1. I using NPM npm i @email@example.com , @firstname.lastname@example.org and @email@example.com, Cognite reveal AxisViewTool is not working.
error: (Module '"@cognite/reveal"' has no exported member 'AxisViewTool'.)
Best answer by Karthik KaliyaperumalView original
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:
Do do this in your application, you need to:
Does this help?
Node filter by name is working fine no issuse.
How to search 3d Nodes?
The 3D nodes API only supports exact matches unfortunately - so there is no way to find 3D nodes with names that begins with/contains some text.
Its working fine, I need to change highlighted color.
after add above code ,
color show one time only, after click other element color will not show.
how to change color ?
Select the object. How to zoom camera to focus the object?
Hi Karthik and thank you for reaching out. In Reveal 3.x, tools are imported through “@cognite/reveal/tools”, not “@cognite/reveal”. Note that in Reveal 4 (recently released) it is optional to import from “@cognite/reveal” or “@cognite/reveal/tools” - see https://cognitedata.github.io/reveal-docs/docs/migration-guide for details on migrating from version 3 to 4.
Thanks, AxisViewTool is working. and I have another doubts, If mouse hover 3D image show 3d object name and click object highlight name right side show tree structure data . see https://cognite-learn.fusion.cognite.com/learn/3d-models/6310365425503151/revisions/5444434995238807?env=westeurope-1&cluster=westeurope-1.cognitedata.com
Hi again Karthik. I’m a bit unsure of what you’re asking here - do you want to implement similar functionality as in the Fusion 3D viewer, or are you suggesting a new feature in Fusion?
Product manager, 3D
I need object name with right side tree structure data
Thanks, I will try.
Click Object enable blue color with outline, How do this ?
For details on using the Cognite JS SDK, please see https://docs.cognite.com/dev/guides/sdk/js/.
For highlighting objects in Reveal, please see https://cognitedata.github.io/reveal-docs/docs/examples/cad-styling
If any example code available, please share me.
I am use CogniteCadModel class, I facing issue given below
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.
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?
@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!