getting a property


someone knows how to pick an object in the list if some property is true. I’m trying to get the nearest object in the list but only the one which get this property true.

If it’s sounds confusing don’t hesitate to ask me I’ll post the script but I don’t know if it would help since I just have the nearest object list script.

thanks anyway

nobody knows how to get a list of object depending on their properies like "all the object vith a P property equal 1 are picked "