Notifications
Clear all
[Closed] max shutsdown when undo context is used
Jul 04, 2005 4:32 pm
Hello all
i have amde a script in which i generate the keyframes at regular intervals it works ok but as i try to undo max crashes I have tried to enable undo on before setting the animate context on but no use i still get the same result. Let me know what is going wrong here. I will post the code here if you say so. Thanx
Mobeen
1 Reply
Jul 04, 2005 4:32 pm
I thought someone would have encountered such a thing before here??? Just to give you some more clues, here goes some code …
Note i am taking lStart and lEnd from the user as start and end frames of animation
(I have not given the whole thing here will do so if i get any response on this)
undo on
(
with animate on
(
for i in selection do
(
at time lStart
move i -x 0 0
at time lEnd
move i -x -y 0
x=x+10
y=y+10
)
)
)
Thanx
Mobeen