← Back to team overview

yade-users team mailing list archive

Re: Contact forces

 

Thanks!
It is here now : https://yade-dem.org/index.php/PythonPrimer#Running

Bruno


Václav Šmilauer a écrit :
Stupid question I didn't find in documentation yet : what is the
syntax to load a script when yade is already started?
execfile('filename') will run that file in the current interpreter (it
is a python built-in function, not yade's). You should call O.reset()
before execfile, though, since most scripts count on the zero state at
the beginning.

v


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp



--

_______________
Chareyre Bruno
Maître de Conférences

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




References