Skip to main content

I'm reading in bunch of dwg files with PathReader, then give those to DWG Reader, outputing through <Generic> port with some exposed attributes. I need to have Path to reader files, but exposed fme_dataset attribute is missing. Is there any workaround?

What do you expect to find in the fme_dataset parameter?

If you want the name of the layer, you should expose the autocad_layer parameter.

If you want the name of the DWG file, you need to merge your initiator attributes with the features read in the FeatureReader:


You can expose the format attribute autocad_source_filename, it will contain the full path name to the dwg/dxf file.


Both methods work perfectly fine. Thanks!


Reply