Hi @hugocrites
If the DWG files are within a single directory, when adding your reader you can select 'select multiple files' from the drop-down to the right of the 'dataset' parameter. Here you can select a folder rather than a file, and FME will add a feature type for each file within the folder.
If you need multiple SHP outputs, simply map these to equivalent SHP writers and the filename will remain the same.
If you need to merge them into a single output SHP, then you can use an AttributeExposer to expose the 'fme_basename' attribute, which is the filename of the input feature type. You can then use this in the writer output.
Cheers
Hi @hugocrites
If the DWG files are within a single directory, when adding your reader you can select 'select multiple files' from the drop-down to the right of the 'dataset' parameter. Here you can select a folder rather than a file, and FME will add a feature type for each file within the folder.
If you need multiple SHP outputs, simply map these to equivalent SHP writers and the filename will remain the same.
If you need to merge them into a single output SHP, then you can use an AttributeExposer to expose the 'fme_basename' attribute, which is the filename of the input feature type. You can then use this in the writer output.
Cheers
@rileym Thanks for this! it worked