← Back to team overview

yade-users team mailing list archive

Re: [Question #478785]: Export VTK files to txt files

 

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

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

using PyRunner:

##############
def saveMyDate():
   ... # code creating a file and writing your desired data into it

O.engines = [
   ...
   PyRunner(iterPeriod=10000,command='saveMyData()'),
]
##############

cheers
Jan

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