In my plug-in I'm copying numerous models, rebuilding them and performing some operations on them in a loop. It's a huge plug-in and the whole process takes over an hour. But during this process at some point MPS points out that "Generation is not available until indices are built", probably when plug-in is trying to rebuild some model. How to wait for the indices to get build before performing any operation or rebuilding the newly copied model?
Or if some one can explain how does indices building works in MPS?