Notifications
Clear all

[Closed] ProOptimizer modifier doesn't Calculate

Hi everyone.
I’m writing a script that at a moment apply a ProOptimizer to an array of meshes and set a vertex percentage according to some parameters (basically an approximate density of vertices/m^3).
the problem is that in the end the “calculate” doesn’t turn on.
Well… sometimes yes and sometimes not.
I tried to set more than one time, I tried to force a “select-deselect” of the mesh, I tried a redraw of the viewports (as I’ve read around) but nothing works.
It simply sometimes set all the values and flags but not apply the optimization. And it’s a problem because I’m working on a scene with about 2,000 meshes and it’s of course impossible to manually calculate one by one.
Do you have any idea? I’m using 3dsmax 2018 but I tested on 2017 as well and the result is the same.

EDIT:
I tried also a solution proposed in a recent post: select the mesh before adding the modifier.
It happens an even “stranger thing” :): it works but as soon as the process continue, old meshes return unoptimized (their calculate switches to off) so at the end (on about 200 objects) I have ONLY the last 19 with calculate on.
And the best thing is that after the script I manually select one of the mesh, a random optimized one switches to off!! If I continue to click and select I deactivate the calculate on all meshes.

Thanks a lot!