yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20552
Re: [Question #683555]: How to check if there is interaction between Id1 and Id2 at current step?
Question #683555 on Yade changed:
https://answers.launchpad.net/yade/+question/683555
Status: Open => Answered
Jan Stránský proposed the following answer:
"for i in O.interaction:" iterates only real interactions. So in the
second step, you can try:
i=O.interactions[0,1]
i.isReal # should be False
Then it depends on your needs which exactly criterion you use.
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.