← Back to team overview

yade-users team mailing list archive

Re: [Question #701803]: Use of O.Step and O.Pause when saving Packing

 

Question #701803 on Yade changed:
https://answers.launchpad.net/yade/+question/701803

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

Yade reads your script sequentially. If you write O.run(#iters,1), then
it will run #iters before moving to the next command in your script. One
iteration is one full loop through O.engines. O.step = O.run(1,1).
O.pause will pause the simulation no matter what is going on.

>>I have a random occurrence

What does "random" mean? You mean it occurs randomly (i.e. sometimes it
works sometimes it does not)? Or do you mean the words in the error
appear random and confusing to you?

You do not need O.pause in any of these situations, unless you started
to use O.run(1,0).

Cheers,

Robert

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.