← Back to team overview

yade-users team mailing list archive

Re: Contact forces


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


Follow ups