yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #26747
Re: [Question #699698]: ERROR:root:Unable to guess python type from cxx type 'vector<shared_ptr<Interaction>>
Question #699698 on Yade changed:
https://answers.launchpad.net/yade/+question/699698
Status: Open => Answered
Jérôme Duriez proposed the following answer:
GUI inspector (though really nice) may not be able to render all
simulation attributes i.e. safely guide them through the C++ / Python
barrier, you have one example here. Your link [1] is another one.
Fortunately, you can inspect manually from command line e.g.
b = O.bodies[0]
print(b.state.pos)
same with engines see e.g. https://yade-dem.org/doc/tutorial-data-
mining.html. I suspect it will give you access to what you wanna know
about (which is usually not one of those things that can not make it
from C++ to Python).
--
You received this question notification because your team yade-users is
an answer contact for Yade.