whether api support search variable between the values?

     whether api support search variable between the values or other way to solve

SolidworksSolidworks Pdm enterprise Pdm