Skip to main content
hi all

 

I am trying to convert a shp to obj using the object id as fanout.

 

The file name of each obj file has to be the same as the object id, right now the directory has the name...anyone know how to set this up? thanks

 

Hi,

 

 

FilenamePartExtractor transformer is convenient to split a file path string. 1) Expose 'fme_dataset' attribute of input features. This attribute will contain a source file path string of each feature. 2) Apply FilenamePartExtractor to split 'fme_dataset', then you can get its elements including the directory name. 

 

 

Takashi

Reply