Skip to main content

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

Hi @sav426

you can use fme_basename attribute value.


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

Thanks


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.

 

 


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


Reply