To download free just enter 0 in the name a price field! ;-)
This setup reads the proximity from a pose object to a target object and outputs a value of zero to one. Useful for driving blendshapes or other values.
Open script in a python shelf in Maya and run to create the node setup.
original source: https://blaabjergb.com