Question #228866 on Yade changed: https://answers.launchpad.net/yade/+question/228866
Status: Open => Answered Luc Scholtès proposed the following answer: Hi Ray, len() is a python function, not a specific yade function. It is defined in the python documentation there: http://docs.python.org/2/library/functions.html?highlight=len#len len(O.bodies) returns the number of 'bodies' defined in the current simulation (O). Cheers Luc -- 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 : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp