DraftSight Plugin for XY Coordinate Export

I would like to be able to select single or multiple entities (e.g. polylines) and export their coordinates (x,y) to a tab or comma delimited text file. I don't think such an export feature is currently supported. Is there a plug-in for that, or does anyone know who could develop such a plug-in for me? This plug-in would also have to discretize curved sections (arcs, splines) into a series of (x,y) points at a user specified resolution (similar to an NC file for tool paths). Thanks for your input!