I have a issue with looping all the elements data which is present in the viewer which I have to achieve without running in the main viewer browser, but instead want to run the memory intensive task in the worker.js file. How to create a worker file which can take the memory load without affecting the viewer & the loading of all elements
Can you give a solution for this?
You can create a worker using the executeUserFunction
Here is a sample showing how to use it: https://aps.autodesk.com/blog/executeuserfunction-accepts-user-data