sorry in advance if my query is not smart, but I have no coding knowledge, but architectural.
I am looking a solutions code to visualise a 3d model (exported in Gltf from Revit) thats shows the model with some pin element connected to a specific object in the model. the pin element can be clicked to open a tab windows that visualise the IoT data, connected by OPC UA.
You probably want to start with a three.js based glTF viewer. The gltf-viewer by @donmccurdy is one of the most popular ones and also open source. It does many things you definitely want in a viewer software. For example models are automatically centered and the viewer’s camera adjusted so you actually see the imported model.
How to implement labels or annotations for 3D objects was already asked in this forum multiple times. I suggest you have a look at the following topics:
It should not be hard to make such labels clickable so a new tab opens with a different website.