← 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

Deepak proposed the following answer:
Hello Carrie,

I also had a similar issue with PyRunner while importing yade in python,
 
I had followed the method as described in this thread : (https://answers.launchpad.net/yade/+question/235866), 
guess you have to define the yade simulation part as a class and then in the function which you call PyRunner (in your case addForceStep() ), you could try this def addForceStep(self):

This had worked for me.

 
Regards, 
Deepak

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