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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Seti,

> Can anyone tell me why VTK and Snapshot don’t work in below script?

just don't delete them from O.engines ;-)

VTKRecorder and SnapshotEngine have indexes 8 and 9, so they are deleted at 
this line:
O.engines=O.engines[0:5]+[PyRunner(iterPeriod=500,command='history()',label='recorder')]+O.engines[5:7]

use
... + O.engines[5:] instead of ... + O.engines[5:7]

cheers
Jan

PS: I have never used SnapshotEngines, it gives me some timeout error,
so please open a new question if you want more info about it

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to