Skip to main content
Question

Importing Multiple (Simultaneously) DXF Files (to Smallworld) and need to have an attribute named by each source DXF

  • February 6, 2018
  • 4 replies
  • 49 views

Forum|alt.badge.img

Hello,

I am importing multiple DXF files into Smallworld from DXF files created from an old Trimble unit.

The DXF files will always have a unique name but can be brought in as a single reader. Id like to know if there is a way to get a remarks field to fill by the unique DXF file for each of the points.

If I make the field populate by the $(SourceDataset_ACAD) parameter it brings in whole directory path which is not needed.

Anyone have any suggestions?

Thanks in advance.

Savas

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.

4 replies

Forum|alt.badge.img
  • February 6, 2018

Hi @sav426

you can use fme_basename attribute value.


Forum|alt.badge.img
  • Author
  • February 6, 2018

Hi Lena I dont see that in the list, can i just add $(FME_BASENAME) ?

Thanks


Forum|alt.badge.img
  • February 6, 2018

Hi Lena I dont see that in the list, can i just add $(FME_BASENAME) ?

Thanks

You can either expose this attribute through source feature type Properties > Format Attributes or use AttributeExposer transformer. fme_basename is one of the FME generic format attributes, it is added to all features read by Readers, however, it is usually not exposed by default.

 

Besides, if necessary you could read all your source dxf-files with a single Reader: features will get fme_basename values from their original file-names.

 

 


Forum|alt.badge.img
  • Author
  • February 6, 2018

THANK YOU!! I forgot about attribute exposer! thanks!!