I saw the following thread.So I wondered what fragid was like.
What is the best way to persist a reference to an item in forge viewer?
Is fragid guaranteed to be the same across model versions / conversions? Or isn't it as guaranteed as dbid? I am experimenting with an actual model, but I am not sure. Do you know the answer?
Neither dbIDs nor fragIDs can be used for consistent references across design versions.
As explained in the linked thread, the right way to get object references that are consistent across design versions is to query each object's properties (for example, using the getProperties API), and look for the "external" property.