How to select a face by the point location (x,y,z),for example(0,1,0.1), and choose all tne entities with the same X location in Mechanical scripting? Just like the fig below:

Then set all the entities chosen to a name selection, just like the fig below:

The second question: how to choose a face by point location,and then choose the location X, create a name selection "X-sym",just like below:
