I've added functions for "getting" and "setting" object's Z-axis position measured from the sea. Download.