FORGE Viewer performance and error issue with big size file

青春壹個敷衍的年華 提交于 2021-02-11 13:20:52

问题


I had translated 500 Mb sized NWD file and tried to load it to FORGE Viewer. (I believe the NWD file has may graphical elements and objects)

It takes around 4 to 5 Min. for loading which is slow after cache initialization and error occurs as below images after blinking web browser.

error image 1

error image 2

Any advice or guide resolving this issue will be appreciated.

Thanks


回答1:


Here's a couple of options to consider when dealing with really large models:

  1. Use the Autodesk.MemoryLimited viewer extension to control the amount of memory allocated for the model (to avoid browser crashes or context losses): https://forge.autodesk.com/en/docs/viewer/v7/developers_guide/viewer_basics/memory-limit.

  2. Use the new SVF2 file format which can detect and remove many duplicate geometries, decreasing the total amount of geometry that must downloaded from the servers and sent to the GPU.

  3. As a last resort - something our customers also do - try splitting the Navisworks design into multiple models, for example by area or discipline, and then load it on demand.



来源:https://stackoverflow.com/questions/64981274/forge-viewer-performance-and-error-issue-with-big-size-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!