← Back to team overview

yade-users team mailing list archive

Re: [Question #670793]: Usage of "InteractionContainer.countReal"

 

Question #670793 on Yade changed:
https://answers.launchpad.net/yade/+question/670793

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

There is no need to show us not working examples ;-)

As you found out, I guess, "b.interactions" does not work, maybe
O.interactions.withBody(b.id) is what you want (then apply len() to it)

See https://yade-
dem.org/doc/yade.wrapper.html#yade.wrapper.InteractionContainer.withBody

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.