PDA

View Full Version : max shutsdown when undo context is used


mobeen
07-04-2005, 04: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

mobeen
07-05-2005, 04:13 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

CGTalk Moderation
07-05-2005, 04:13 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.