I suppose it depends on how you define the building height - do you mean the difference between the base of the lowest element and the top of the highest element? If so, I think the only option might be to iterate through the model database to determine those bounding dimensions.
Ralph Wessel BArch
Software Engineer Speckle Systems