Skip to main content
I have and AutoCAD DWG file with several polylines. I would like to get the coordinates from these lines saved to a .csv file. Is this possible? I am new to FME so will need a thorough explanation please.

Hi @johnpaterson123​ If you want one line to be one record in the CSV, use a GeometryExtractor to extract the geometry to WKT format and write that out as an attribute in the CSV.

 

If you want each vertex to become a record in the CSV, then use a Chopper (chop to 1) and a CoordinateExtractor to get X,Y (and Z) attributes. You'll also want a unique identifier per line (e.g. using a Counter) so that the line can be recreated from this CSV later.


Reply