Get GeoData Body Corresponding to a Tree Object of a Body

Goal: Get the GeoData (graphics window) body corresponding to a tree object of a body.

Code:

treeBody = Model.Geometry.Children[0].Children[0]  
geoBody = treeBody.GetGeoBody()