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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Thanks for the code

> Do I make any mistake in command?

yes :-)

VTKExporter remembers how many times it saved something and use
contiguous numbering, starting from 0. In your case, every time doExport
is called, it creates new VTKExporter, which starts saving from 0.

Fix:
###
vtk= export.VTKExporter('.../101_dspl-') # called only once
def doExport():
 vtk.exportSpheres(useRef=True,what=[('dspl','b.state.displ()')]) # now each 
time a new file with new number is saved
###

cheers
Jan

-- 
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