[MaxPlus] Setting keys explicitly on INode

Hey guys !

I’m working on a Python script that merges a lot of files into one scene. For each node merged I need to apply a matrix to each frame. At the beginning I did it by activating the autokey and doing MaxPlus.INode.SetWorldTM() with a time value. The problem was that it was refreshing max UI and so, slowing down execution. Then I tried using MaxPlus.Animation.SetIsAnimating(True) and again using MaxPlus.INode.SetWorldTM().

Still the same problem, setting the matrices at each frame slows down quite quickly when there starts to be a lot of objects into the scene. So I’d like to know if it would be possible to explicitly set keys on the INode controllers in a way that Max doesn’t re-evaluate the scene nodes each time as it seems to do ? Of course I disabled the viewport refresh during the operation.

Thanks :slight_smile: