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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

Here is my guess (untested):

clump1ID = someID
clump2ID = someOtherID

for i in O.bodies[clump1ID].intrs():
    if O.bodies[i.id2].clumpId = clump2ID
         print('clump1 body', i.id1)
         print('clump2 body', i.id2)


Cheers,

Robert

-- 
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