Reputation: 3490
Following the discussion of this thread, I'm able to show the 2d sheets view (leftpanel) in the autodesk viewer for pdf files and other 2d files.
But now the problem I have is clicking once on the links in the left panel won't render the view in the viewer, it just shows loading but it won't load. But if you click on the same link once again, it shows up. So, we need to click twice on the same link to get the viewer show that sheet.
And this problem happens only for "PDF" files. For other 2d files like "DWG" and so on, just single-click would do the job as usual.
When I click on any sheet it shows this error in the developer console:
Uncaught TypeError: Cannot read property 'dispose' of null
But If I click it again, it shows up correctly.
Not sure what the problem actually is.
Upvotes: 1
Views: 122
Reputation: 3490
Just in case anybody runs into this problem, you can use the latest viewer. We got it fixed using Autodesk Viewer v2.10
https://developer.autodesk.com/en/docs/viewer/v2/overview/changelog/2.10/.
Upvotes: 1