MassFX baked does not work


Has anyone ever managed to run MassFX.baked=1 from MaxScript? It turns the Bake button to Unbake in the modifier section but it does not generate the animation for the object or run the simulation or anything. It just work fine with the button but I wanted to automate this with the script. The nvpx.Simulate also gives no results.