Exporting object data to SDF/SHP

This is my method as well. I’ve found that MAPEXPORT is the easiest, but the problem is that I typically want many separate SDF files to import into InfraWorks as coverage areas because then they will show up separately in the surface layers window. That way you can toggle the visibility on/off for individual layers. With MAPEXPORT you can export multiple features along with their CAD layer attribute to a single file, but then in InfraWorks you only have one data source and therefore lose the visibility control.

Hence the need to automate. Here’s a screen recording of my current solution, which I don’t really like, but it works. It basically just builds up a big string to send to the command line and execute the MAPEXPORT command multiple times. Eventually I want a more direct export method via the Map API, but for now this works.

MapExportTest.dwg (386.5 KB)
MapExportByLayer.dyn (61.3 KB)

MapExport

6 Likes