Stratasys do this really well with a probe that is dropped by the head moving to a certain location, bed is measured then the head goes to another extreme and lifts the probe.