Create Elevation by Rooms

Greeting Dynamo veterans,

Complete Novice here, so bare with me while I figure out my arse from my elbow.

I have managed to get all of the scripts that Alisder_Brown so kindly shared above working, except the final one that renames the elevations. The error that I am getting is regarding the BoundingBox.Contains node. The error I get from it is “Warning: No function called Contains on a Function that takes Function could be found”

Image of script warnings attached below. Any advice greatly appreciated.

4_ABro_RenameElevations_Error