Get information about surfaces in mesh

Hi,

I have a mesh that has a several plane surfaces at x=0 and x=certain number, and y=0 and y=certain number.

I want to be able to get all the number ID of all the surfaces that has x=0 and x=certain number, and y=0 and y=certain number.

What is the best way to do that?

I just want to obtain the surfaces numbers.

Thanks!

Just to clarify, are you wanting the IDs of the model’s surfaces or the faces of the mesh elements?