Python - Elevation Crop

Hello,
try to use the ViewCropRegionShapeManager of the elevation view and set it with this method

an example here with a wall (need to adapt it to your case)