Skip to main content
Solved

Read multiple files

  • October 8, 2020
  • 8 replies
  • 277 views

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

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.

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.

8 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • 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

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+62

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+40
  • Contributor
  • October 8, 2020

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

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

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+40
  • Contributor
  • Best Answer
  • October 8, 2020

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