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

Robert Caulk proposed the following answer:
If you iterate on the bodies, it will not count erased bodies:

count = 0 
for b in O.bodies:
    count+=1

-- 
You received this question notification because your team yade-users 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

Reply via email to