I recently built a workbench reading a DWG with the AutoDesk reader, expose autocad_layer and autocad_entity, yadayadaydada. Now I want to make it more generic, using a FeatureReader to read the DWG, fed by the Directory and File Pathnames reader.
Problem is: how to expose the autocad_entity attribute?
What I tried so far:
- AttributeExposer transformer connecter to the Generic output port from the FeatureReader. Nope.
- Attributes to Expose in the FeatureReader Parameters. Nope again.
- Additional Attributes to Expose in the AutoDesk reader in the FeatureReader Parameters. Still nothing.
The attributes autocad_layer & autocad_text_string are exposed correctly.
Using 64 bit FME 2015.1.0.1 (15480)
Thanks!
Niels
PS My workaround will be using fme_geometry instead, but having a hard time not being able to solve this one.