Hi Alexey,
I tested it, and it works perfectly. Thank you for your help!
To add to the discussion and assist others who might read this in the future, there's a method called "importShapes" that allows you to load shapes from an external file in a very straightforward way, allowing even to directly set the shape as an outer boundary:
chunk.importShapes(
path="/path/to/file.geojson",
boundary_type= Metashape.Shape.BoundaryType.OuterBoundary,
format=Metashape.ShapesFormat.ShapesFormatGeoJSON)
Thanks again!