Create elevations based on scope box with Python

In case some one ends up here but need it for multiple Section Boxes then have a look here.