Exporting XYZ points

I have searched and downloaded every macro available to export my 3D sketch out to XYZ points and none of them are working properly in 2018. To test the points I opened them back up using Curve through XYZ points and I get some very strange results.

Granted my 3dsketch is not starting at 0, but that shouldn't matter.

Here is my sketch:

Here is the result of every macro on the web and in this forum that I have found:

Does anyone have a macro that actually works for 2018?

SolidworksApi/macros