Hey dpitman,
there is already a script for reporting all polygon area and volume measurements to a txt or CSV file See attachment. This script supposes that units are meter. For different unit (ft), we would need to know the Metashape.app.settings.value key for units. I dont know what it is, maybe Agisoft can inform on this issue?
The following info would be exported to a txt file in case of 2 polygons....
Shape_ID Shape_Label Layer_Label Area_m2 Method Volumen_m3(below) Volumen_m3(above) Volumen_m3(total)
0 Predio Limite 223268.63837 bestfit 41813.84809 106715.69601 64901.84792
4 Pile Pilas 822.75264 bestfit 4.30027 1604.94371 1600.64345
The script can be modified to include other measurements (perimeter_2D, perimeter_3D) and could also include polylines...