0

This time i have two questions.

1. In development phase I was working with some free Revit files which is less than 200mb, and they were taken more than 20 Sec for loading. How to optimize this process so can viewer can work smoothly with large files (like 2-5GB).

My second question is like a movie story

2. Let's consider there is one hotel model with some vaults, so I wanted to hide this vault area (which includes AC ducts, electrical wiring and some other utilities) from everyone excluding some team. How can I archive this type of functionality inside forge viewer?

1 Answer 1

2

You can load only selected elements with this approch. It can be two-barrel shot: for model loading optimization and hiding some elements on the current view.

4
  • Thanks Andrei I tried this approach , but unable to hide whole rooms. And it doesn't make any major impact on loading. Jun 11, 2020 at 2:21
  • What impact do you expect to achieve? 1. Open Google Dev Tools in Chrome. 2. Open network tab. 3. Load model full model with all ids. Check the amount of transferred information. 4. Load model with smaller number of ids. Check the amount of transferred information. 5. Compare the values. Less data => faster loading speed. Jun 11, 2020 at 6:41
  • but in my case i want to show everything excepts some hidden room. what should i show to the users while viewer load.suggest me what you think right now i am working on one hotel model. Jun 11, 2020 at 7:44
  • You may try to use this solution to generate rooms in svf models. By I have not try this approach yet. And I don't know the best way to tie ids of elements to that generated rooms. I suppouse you will need a parameter in the element to identify to which room this element belongs. Jun 11, 2020 at 9:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.