Re: [Yade-users] [Question #661017]: call a class from yade

2017-12-07 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Hongyang Cheng, that solved my question. -- You received this question notification because your team yade-users is an answer

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-29 Thread Jan Stránský
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Jan Stránský requested more information: Hi John, do you need GUI from Python? if not, do not try it :-) if yes, there are some workaraounds.. cheers Jan -- You received this question notification because

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-29 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 JOHN posted a new comment: hello all, I tried importing qt and qt view to no avail, Still, it is not really important thanks -- You received this question notification because your team yade-users is an answer

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-24 Thread Hongyang Cheng
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Open => Answered Hongyang Cheng proposed the following answer: Maybe you can try from yade import qt and qt.View() and bla, bla. It worked for me some time ago. Cheers Hongyang -- You received

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-24 Thread Hongyang Cheng
Maybe you can try from yade import qt and qt.View() and bla, bla. It worked for me some time ago. Cheers Hongyang ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe :

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-23 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Answered => Solved JOHN confirmed that the question is solved: hello, and thanks for the quick replies those two steps solved my problem best regards John -- You received this question

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-23 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Solved => Open JOHN is still having a problem: One last tiny thing, is it possible to start the startup yade visualization from python? Thank you -- You received this question notification

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-22 Thread Jan Stránský
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Jan Stránský proposed the following answer: Hello, > ImportError: No module named myclass it means that your main script ("another file") does not know where to look for myclass.py . What is location of

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-22 Thread Deepak
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Open => Answered Deepak proposed the following answer: Hi, If I understand correctly, you intend to run yade under a ''pure python'' environment? If that's the case you could have a look at these

[Yade-users] [Question #661017]: call a class from yade

2017-11-22 Thread JOHN
New question #661017 on Yade: https://answers.launchpad.net/yade/+question/661017 Good evening, What i am trying to do is bundle the yade simulation in a class which works from yade.pack import * from yade import ymport import math class simul(): def run(self):