Whats happening is AutoCAD quark text\mtext that isn't left justified insertion point is stored in dxf code 11. the code doesn't account for this so when it finds text that isn't left justified their isn't any values for x y or z when its trying to write-line so it errors "stringp nil"wow
updated the code to be a little more efficient and to account for this as well.Code - Auto/Visual Lisp: [Select]
) ) ) ) ) ) ) ) ) )
Also might want to update the location of where the file is being created.
your documents folderCode - Auto/Visual Lisp: [Select]
or in the same folder as the drawing. (must be saved)Code - Auto/Visual Lisp: [Select]