ScriptSpot

Forum topic · General Scripting

Reduce key cause max got crazy

By kredka · 2013-12-29

Description

I found strange behavior of max when I perform operation to reduce keys on objects. When I fire up this:

for o in selection do
(
reduceKeys o.transform.controller 3.0 1f
)

max blink and close all maxscript windows in spite of I disabled redraw and I performs operation only on animated objects.
Am I doing something wrong? I test it on max2013.

Comments (2)

O no

kredka · 2013-12-29

great:) but is there any way to work around the problem. Call createdialog don't work because I lose my rollout.

barigazy · 2013-12-29

That's common behavior of reduceKeys fn :)