Autodesk.Hyperlink Extension of Forge Viewer is a feature that can display the corresponding view of the tagged geometries. It is introduced since Forge Viewer 2.10.
The gif below is a demoing.
When we wanted to test the feature, we hit an issue: with the sample model of Revit (rac_advanced.rvt),the links are available, but they are external id only. Debugging the code, it looks it cannot find a corresponding bubble, so it treats it like a real hyperlink with ‘http://’. Obviously, ‘http://’ + external id is an invalid link.
With the guidance of engineer team, we got to know to work with this feature, it is required the linked views have been published with the model.This is the tutorial of publishing views.
In addition, we need to use the skeleton of initializing Forge Viewer by ViewingApplication, which can ensure to load the related bubbles.
By default, the extension is loaded with initialization. If not, we can explicitly load it:
Viewer.loadeExtension('Autodesk.Hyperlink');
Comments