Skip to main content
Solved

Read multiple files


muzhnasto
Contributor
Forum|alt.badge.img+12

Hi friends give me some advice how do I read the FBX files that are located in different places on the disk?

PS. I have a file with the exact address to each file I need.

Best answer by jdh

muzhnasto wrote:

I've already tried it and either I'm doing something wrong or I don't understand something

Point

Point2

The initiator can be anything as long as it contains an attribute to the full path of the file.

 

featureReader

Any attributes would have to explicitly be exposed, either in the attribute handling on the FeatureReader (generic port) or as a separate AttributeExposer.

View original
Did this help you find an answer to your question?

8 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • October 8, 2020

Hi @muzhnasto​ 

I suggest you use the transformer FeatureReader to extract the FBX files.

 

Thanks in Advance,

Danilo

 


muzhnasto
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • October 8, 2020
danilo_fme wrote:

Hi @muzhnasto​ 

I suggest you use the transformer FeatureReader to extract the FBX files.

 

Thanks in Advance,

Danilo

 

I've already tried it and either I'm doing something wrong or I don't understand something

Point

Point2


redgeographics
Celebrity
Forum|alt.badge.img+49
muzhnasto wrote:

I've already tried it and either I'm doing something wrong or I don't understand something

Point

Point2

Try it without the Aggregator. The FeatureReader needs to be triggered with a single feature for every file you want it to read.

You're using the PATH reader now in the FeatureReader, is that intentional?


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • October 8, 2020
muzhnasto wrote:

I've already tried it and either I'm doing something wrong or I don't understand something

Point

Point2

I would not aggregate it, I would have each feature with a path to their fbx file trigger the FeatureReader. I do that all the time with shapefiles of raster footprints containing an attribute of the file location.


muzhnasto
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • October 8, 2020
muzhnasto wrote:

I've already tried it and either I'm doing something wrong or I don't understand something

Point

Point2

Hi @Hans van der Maarel​  About Aggregator, I looked at Takashi. but with PATH reader, I'm really wrong. Please give me advice on which transformers and settings I should use for the task of reading files from the list.

PS. Removed Aggregator from the schema now Rejected 25 pieces instead of 1


muzhnasto
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • October 8, 2020
muzhnasto wrote:

I've already tried it and either I'm doing something wrong or I don't understand something

Point

Point2

Hi @jdh I can somehow see the settings of your initiator and FeatureReader?


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • October 8, 2020
muzhnasto wrote:

I've already tried it and either I'm doing something wrong or I don't understand something

Point

Point2

The initiator can be anything as long as it contains an attribute to the full path of the file.

 

featureReader

Any attributes would have to explicitly be exposed, either in the attribute handling on the FeatureReader (generic port) or as a separate AttributeExposer.


muzhnasto
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • October 8, 2020

Friends, thanks to you, I found my mistake )) and found out how it works

Point3


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings