python MaxPlus.Core.EvalMAXScript() - undo - (3dsmax 2016)

python MaxPlus.Core.EvalMAXScript() - undo - (3dsmax 2016)

Anonymous
Not applicable
979 Views
1 Reply
Message 1 of 2

python MaxPlus.Core.EvalMAXScript() - undo - (3dsmax 2016)

Anonymous
Not applicable

I have found that 3dsmax python, currently doesn't store any undo changes, if I execute a maxscript command from python.

 

Not even this:

MaxPlus.Core.EvalMAXScript("box()")

 

Is there a solution for this problem? We have hundreds of existing maxscripts and maxscript functions, which modify objects, and it's impossible to integrate them under any kind of PySide UI. It is not an option currently to rewrite them ins python, it would take almost forever...

 

Thank you!

0 Likes
980 Views
1 Reply
Reply (1)
Message 2 of 2

Swordslayer
Advisor
Advisor

Pymxs.undo was fixed in 2018, and calling MaxPlus.Core.EvalMAXScript("box()") is undoable already in 2017. No such luck in 2016 with all updates and fixes, though.

0 Likes