Like the picture above,
in basically the yellow highlight function that comes out when i click on a node
I want to use it instead of setNodesFaceColor.
If I give nodeid as a parameter,
Is there an API REFERENCES that can be used like a click function?
As part of the Communicator package via quickstart, we have an example of changing the color, transparency and visibility for selected parts of a model.
Here are the steps to launch the example:
Navigate to the directory HOOPS_Communicator_2023_SPX_x\quick_start and double-click start_server.bat to launch the server.exe.
Once the example launches, you can just follow the instructions provided on the page.
With respect to your comment:
If I give nodeid as a parameter, Is there an API REFERENCES that can be used like a click function?
If you just want to quickly change the color “on-the-fly” of a selected node, you can use a callback to do that. Here’s some JavaScript that you can paste in the web browser console: