Hello,
The goal is to convert a large amount of DWG CAD files to SHP files.
- Each DWG file is located in a specific folder and subfolder corresponding to it’s location and level.
- Each DWG name has a prefix component indicating the plan’s specific location and a basename indicating it’s feature type.
- The prefix component is identical in SHPs and DWGs
- The basemap depends on a combination of layer(s) and geometry type.
There is also a conversion matrix identifying which combination of DWG basename, layer and geometry type result in which SHP basename.
Schema mapper & scanner are used to convert schemas based on basename only.

I can output the corresponding shapefiles as Prefix_Basename.SHP in one global output folder.
However when I try to set the dataset fanout, the folders are created but the files aren’t.
I created two separate shapefile writer for comparison. The general parameters are exactly the same, on the writer parameters change.
For the dynamic output folder
- Fanout Directory= \output\temp
- Fanout Dataset=@Value(folder_location)\@Value(folder_level)
In this the folders are created but the dataset is not created.
In the second reader, I don’t use the Dataset fanout and the correct outputs are created.
