Question #212834 on Yade changed: https://answers.launchpad.net/yade/+question/212834
Chiara Modenese proposed the following answer: Hi Nait, Here is a simple example. ii=O.bodies[id].intrs() # list of interactions with body id len(ii) # number of interactions to which body id participates I hope this is clear now. Best, Chiara -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

