Modify Panel can be slow - change to Create Panel when possible

MAXScript FAQ > How To Make It Faster > Modify Panel can be slow - change to Create Panel when possible

Some operations on scene objects will reevaluate the modifier stack and also force an update of the Command Panel UI. Even if the viewport redraws are suppressed, the Modify Panel might be forced to redraw. When the modifier stack is not needed by the script (for example for setting Sub-Object levels etc.), it is a good idea to switch to the Create Panel during execution of the script using the max create mode command.

MAX Commands

In 3ds Max 7 and higher, you can also completely disable Modify Panel updates using the suspendEditing() and resumeEditing() methods:

Command Panels

Previous Tip

Disable Undo system when possible

Next Tip

Use the 'flagForeground' node viewport state method