yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08169
Re: [Question #235552]: How to pass a python class to a C++ class
Question #235552 on Yade changed:
https://answers.launchpad.net/yade/+question/235552
Christian Jakob posted a new comment:
Hi,
> I tried to pass it as a python::object
Yes this is tricky. An example how you can pass python lists and objects
is here:
https://github.com/yade/trunk/blob/master/py/wrapper/yadeWrapper.cpp#L201
Can you explain what your ClumpsFactory should do?
Creating/modifying clumps is already implemented in several methods.
Please also have a look at the manual section about clumps
https://yade-dem.org/doc/user.html#clumping-particles-together
regards,
christian
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.