Question

fme_dataset values are missing

  • 13 February 2020
  • 3 replies
  • 5 views

Badge

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?


3 replies

Userlevel 2
Badge +19

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:

Userlevel 4

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

Badge

Both methods work perfectly fine. Thanks!

Reply