@macros55
In addition to block inserts, points and circles have been added. I do not have access to COGO points so I cannot handle this case.
LWPOLYLINE,LINE and ARC are accepted
I don't have the skills to produce a SPLINE part in lisp.
I think I solved the problem of overlapping vertices to produce the polyline part.
I updated the previous code.