This doesn't work for you ?

sh = selected()[0].getShape()
for i in selected()[1:]:
        a,b,c = sh.intersect(datatypes.Point(i.tx.get(),i.ty.get(),i.tz.get
()),datatypes.Vector(0,1,0),1e-10)
        if (len(b)%2<>0):
                print "%s is in mesh \n" % i

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to