← Back to team overview

yade-users team mailing list archive

Re: [Question #661471]: Find particle id given its position

 

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

george gave more information on the question:
(a typo here 
  if isinstance(b.shape,Sphere):
                      if b.state.pos[0]==1:
                            if b.state.pos[1]==1:
                                  if b.state.pos[2]==1:
                        print b.id,b.state.pos[0],b.state.pos[1],b.state.pos[2]

although it doesnt really matter

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.