private double GetWindowHeight( FamilyInstance window ) { return window.Document.GetElement( window.GetTypeId() ).get_Parameter( BuiltInParameter.WINDOW_HEIGHT ).AsDouble(); }