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

nobody posted a new comment:
Hi Jan,

I test the ids of the facets and spheres, the results show that i.id1 are set 
to facet. 
because if I set:         if isinstance(O.bodies[i.id1].shape,Facet) and 
isinstance(O.bodies[i.id2].shape,Sphere):  

##### I can get the facet ids.

but if I set another command:         if
isinstance(O.bodies[i.id1].shape,Sphere) and
isinstance(O.bodies[i.id2].shape,Facet):

#### the list from i.ids is empty.

best,
Yong

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