Question #663441 on Yade changed:
https://answers.launchpad.net/yade/+question/663441
Description changed to:
Good evening,
I have the following problem
I have a python script that calls yade functions from another file.
When the other file just has the functions defined as functions (def
etc)
Question #663441 on Yade changed:
https://answers.launchpad.net/yade/+question/663441
Status: Answered => Open
JOHN is still having a problem:
That is a fair point, i apologize
I feel the issue is that within the class i cant seem to be able to
import some modules (the pack module among
Question #663441 on Yade changed:
https://answers.launchpad.net/yade/+question/663441
Status: Open => Answered
Bruno Chareyre proposed the following answer:
Could you please narrow down the problem by yourself (it may explain why you
don't have much replies)?
For instance, is the problem
Question #663441 on Yade changed:
https://answers.launchpad.net/yade/+question/663441
JOHN posted a new comment:
And when i try to put
from yade import pack
and
pack.inG
i get
File "/home/john/Desktop/workingclass/myclass.py", line 42, in run
pred = pack.inGtsSurface(s)
New question #663441 on Yade:
https://answers.launchpad.net/yade/+question/663441
Good evening,
I apologise for this question. I thought i had solved it before, but turns out
the problem is still there.
So i have a class in a file called myclass.py that looks like this
from yade.pack import *
5 matches
Mail list logo