Volumes ID changing on each rendering


We have built a UX that lets users selecting/hovering some volumes of our model but we are facing an issue while trying to keep a volume selected after a rendering.
It seems that a volume ID is not kept after modifying one of the model parameters.
So we can’t retrieve the volume corresponding ID after the rendering.

Is there a solution in order to find a unique ID that stays unique per viewer session?


I assume that by “volume” you mean objects that you are outputting using the glTF 2 display component from Grasshopper. In case you want to identify objects using the viewer’s API, you can assign names to your objects in Grasshopper.