I apologize, I have version 2.0.4 and the code you provided does not work, if only because
chunk = Metashape.app.document.chunk
AttributeError: 'NoneType' object has no attribute 'chunk'
And even if we use chunk = doc.chunk, which corresponds to 2.0.4, we have
pc_reader = Metashape.PointCloud.Reader()
AttributeError: type object 'Metashape.Metashape.PointCloud' has no attribute 'Reader'.
Is there a solution for version 2.0.4? Thank You.