https://community.ptc.com/t5/3D-Part-Assembly-Design/How-to-get-coordinates-of-all-the-points-Cartesian-coordinate/td-p/19682
Save the part with points as IGES file (let Datum curves and points only)
rename the .igs file to .pts file
create a new part and insert new feature Point - Offset
Coordinate System.
Choose Coord sys in the Datum Point dialog
Import... the .pts file
there is a Save... button to display reformatted .pts file with XYZ coords.