Getting all points of a curve using a script

 From:  Martin (MARTIN3D)
6257.6 In reply to 6257.5 
Thank you Michael,
getSubObjects() will be useful but actually Brians and your suggestion to seperate a multiline does what I need.

But I run into another problem:
I'm trying to use MoI to draw tool paths and then use a script to generate xy coordinates for a CNC router and for this I would need a way to break up freeform curves or arcs into lots of segments.
I thought REBUILD generates new points on a freeform curve or arc but now I see that it only generates more control points.
I would need a solution to generate new points on a freeform curve or arc like shown below. The points on the right are not control points but "real" points drawn by hand using the multi line tool. Is this possible?

Attachments: