Center elevation parameter of elements?

Hello I’m new to dynamo, I have read some tutorials how to extract bottom and top elevation, of elements whit bounding box.

But how to extract centre of elevation? ex. Which is necessary when you have circular holes in walls. Any tips how to extract or do I need to make some calculations?

1 Like

Thanks works perfectly!