You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With guid of metadata, we can find viewerable data by doc.getRoot().findByGuid(viewableId), but the viewerable that can be used with loadDocumentNode is its parent.
get parent can only solve the scenario for view in non- BIM 360 Plan folder. To compatible with Plan folder, need to prepare correct version urn and view guid on server side. This PR completes: #17
With guid of metadata, we can find viewerable data by doc.getRoot().findByGuid(viewableId), but the viewerable that can be used with loadDocumentNode is its parent.
so the line below should be fixed to
doc.getRoot().findByGuid(viewableId).parent
https://github.com/Autodesk-Forge/learn.forge.viewhubmodels/blob/master/js/ForgeViewer.js#L39-L42
The text was updated successfully, but these errors were encountered: