← Back to team overview

yade-users team mailing list archive

Re: [Question #705005]: problem of erasing particle

 

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

Jan Stránský proposed the following answer:
Do not use O.wait() and O.run() inside PyRunner command.
While PyRunner command is executed, the simulation is "paused" (contrary to the code in OP).

###
O.engines = [
    ...
    NewtonIntegrator(),
    PyRunner(command='deletParticle()', firstIterRun=200),
]
###

Cheers
Jan

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