i found here that i can update a ViewSection crop by updating its CropBox min and max, but I want to update ViewSection CropBox extents relative to Level datums in view, but it appears the CropBox coordinate system is not the same as level elevations.
min and max of CropBox for my ViewSection is:
min : (-8.1517547515606026, -116.33333333333334, -12.151754751560986)
max : (8.151754751560631, 116.33333333333331, -0.0)
and it seems like the only way i could find Z coordinate of of the crop relative to project elevation is by getting the Lines that make up the crop shape via GetCropRegionShapeManager().GetCropShape()
which were,
40.333333333333329 and 273.0
Really hoping that i dont have to create a new CurveLoop to set a new crop shape with the Z coordinates i want just to be able to update the CropBox relative to the level elevations.
Any help is appreciated.