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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

The loop "for i in O.interactions" is for sure working (fortunately for
every YADE user). However you're saving contact coordinates only once
since yade.plot.addData(x1=x1,x2=x2,x3=x3) is outside of the loop....
;-)

To get a text file that makes you happy, include
yade.plot.addData(x1=x1,x2=x2,x3=x3) in the loop !


(Note that Python provides obviously other ways writing data in text
file, rather than using yade.plot.addData() and yade.plot.saveDataTxt()
)

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to