You'll get better help from providing more detail i.e. which sample file?
I assume it is this one below but this is not the only sample file provided with Revit:

Origin highlighted with model lines, coordinate origin of spot coordinate set to relative
This is from a door family template related to curtain walls. So the origin can be found from the origin of it's Transform as below. Not sure if standard doors (those not hosted on curtain walls) fill out the location point property or not. In this case the base point relates to where the reference plane and level (which are usually set to defines origin) intersect in the family. Sometimes (as in this case) there are no ref planes with 'defines origin' set but the intersection of the named ref planes and levels that come with the template e.g. 'Center (Front/Back)' usually define the origin in those cases. I've constructed the same point in the project with model lines to demonstrate.

For robustness you check location for null and then use a fall back method such as above for finding origin. I always think origin in families is a bit arbitrary i.e. it is usually based on where author decides it. The family template in this instance sets it at the bottom of door (which is logical) but the 50.8mm offset not so logical. Perhaps if I understood this form of family template better it would make sense however. Doors are not my thing, holes in walls are.