Skip to main content
Question

fme_dataset values are missing

  • February 13, 2020
  • 3 replies
  • 20 views

fikusas
Contributor
Forum|alt.badge.img+5

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

oscard
Influencer
Forum|alt.badge.img+21
  • Influencer
  • February 13, 2020

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:


david_r
Evangelist
  • February 13, 2020

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


fikusas
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 13, 2020

Both methods work perfectly fine. Thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings