yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09115
Re: [Question #244984]: Clumps,sphere and walls IDs
Question #244984 on Yade changed:
https://answers.launchpad.net/yade/+question/244984
Klaus Thoeni posted a new comment:
I just wanted to add, O.bodies.replaceByClumps returns a tuple of
[(clumpId1,[memberId1,memberId2,...]),(clumpId2,[memberId1,memberId2,...]),...],
so you have your list already. No need to loop over the whole bodies.
Klaus
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.