||I'm wondering if anyone can provide me with some simple instructions to export a shapefile to DXF-R14 with attribute data. I've tried reading the knowledge base articles and just don't get it. A simple example would have been nice, but no, they've made it really confusing.
For simplicity sake, lets just assume I've got a polygon shapefile with columns A, B, and C. I'd like to export to DXF-R14 but have the columns A, B, C linked somehow so that when the dxf file is loaded into Autocad, then the attributes A, B, C will be also.
What's the process? Here's my guess, but it isn't working ...
1) Run the geoprocessing tool "Create CAD XData", which allows you to pick a list of columns from your shapefile that will carry over into the DXF attributes. The function appears to just add a new column to your dbf file called XDList, and then formats the selected columns from the shapefile in XML syntax with tags, inside the single XDList column.
Here-in lies the first problem ... A, B, and C are text columns amounting to about 30 characters maximum width, but I get a problem saying "Output exceeds field length". I've played around a little with the fields I'm including, and have concluded that the function fails when more than 2 columns from my shapefile are checked for inclusion. Seems like a bug.
2) When I run with a single column with width of about 16 characters, the XDList gets added to my .dbf file. The dbf file grows from around 200Mb to 1.2Gb, due to the extraneous XML tags, etc. I'm horrified at this point.
3) I try to convert the shapefile to DXF using "Export to CAD" and choose "DXF-R14" which runs forever and finally bombs out. My shapefile is pretty big though ... so is there any limit for dxf files?
Any tips or tricks would be appreciated.