Skip to main content
Question

fme_dataset values are missing

  • February 13, 2020
  • 3 replies
  • 39 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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

oscard
Influencer
Forum|alt.badge.img+22
  • 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
Celebrity
  • 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!