I have created a small script to set the bounding box (bbox) of Metashape from the bounding boxes of a shapefile (.SHP).
This script is useful for users that have performed the alignment of a large area and want to continue the processing (dense point cloud, mesh, etc.) of a smaller area delimited by the boundaries of a SHP file.
I attached the script to this post in case it is useful to anyone.