If you just want the Spline's fit points, that's a lot easier than the process in that other topic of placing Point objects along it and getting their insertion points. For example, if the Spline is the last thing drawn:
Command: (setq fitpoints (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 11)) (entget (entlast)))))
((1.0 23.0 0.0) (3.0 23.0 0.0) (2.0 26.0 2.0) (0.0 26.0 4.0))
That list in the fitpoints variable list can be stepped through and each location written off to a .xls or .csv file, rather than .txt as in that other topic. What would you want as a result? The X, Y and Z coordinates each in separate cells in the same row for each fit point? Or XYZ together somehow in a single cell for each one? Something else?
The one thing I'm unsure of is how to determine what points are in its entity data list. Certain things you can do will change the entity data from including (assoc 11) fit points to using (assoc 10) control vertices, and I don't see a way to get the list back to having the fit points. If that's a possible problem, it looks like the fit points can still be obtained from VLA properties, in a raw list that would need to be subdivided into XYZ point lists, although with a quirk:
(-1.0 23.0 0.0 3.0 23.0 -5.55112e-17 2.0 26.0 2.0 6.34489e-17 26.0 4.0)
Those are "really" zero, and should be fixed before writing off to a file.
Kent Cooper, AIA