← Back to team overview

yade-users team mailing list archive

Re: [Question #689912]: How to accesss the saved data in tutorials?

 

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

    Status: Answered => Open

Yaswanth Kalepu is still having a problem:
I added the following line at the end to the gravity deposition example
>>> export.text("particle_data.dat")

I get the foloowing error:
Traceback (most recent call last):
  File "/usr/bin/yade", line 182, in runScript
    execfile(script,globals())
  File "02-gravity-deposition.py", line 66, in <module>
    export.text("particle_data.dat")
NameError: name 'export' is not defined
[[ ^L clears screen, ^U kills line. F8 plot. ]]


>From the link you shared I added the following lines to gravity example  but again error>>>
exportSpheres(ids='all', what={}, comment='comment', numLabel=None, useRef=False)[source]
export.text("particle_data.dat")

I get the following error:
exportSpheres(ids='all', what={}, comment='comment', numLabel=None, useRef=False)[source]
export.text("particle_data.dat")

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