← Back to team overview

yade-users team mailing list archive

Re: [Question #260135]: problem of pyrunner when import yade

 

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

Carrie posted a new comment:
Here is my solution.
I have two things modified.
(1)modify the "run" sentence:
run(10,true)
This makes the script work well in python alone.

(2)add buildin module
import __builtin__; __builtin__.addForceStep = addForceStep
This allows the script work well with other scripts.

Thank all of you!
Maggie

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.