Skip to main content
Question

Is it more adequate to use ListExploder to read from a .dat file and populate a specefic field or a line? Image inserted shows the file and i want to read in line # 17 (Power Flow Status: ....etc)

  • October 17, 2022
  • 4 replies
  • 48 views

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • October 18, 2022

Hi @khireddinehiche​ maybe is necessary to split by lines first with AttributeSplitter.


Forum|alt.badge.img+2
  • October 18, 2022

@khireddinehiche​ I would agree with @danilo_fme​ . Use the Text File reader to read your data, AttributeSplitter to split on ":" . Then...

Use AttributeCreator and for the New Attribute column select "Attribute Value" (not Select Attribute) from the pull down menu for the list{0}. This will rename your list{0} to Power Flow Status. For the Attribute Value column, use list{1}

image


@Mark Stoakes​ and @danilo_fme​  thanks for you help, i was able to get it to work!

Now i get a different issue, where using the ListExploder is giving me this error and i'm not sure what it is!

image 


Forum|alt.badge.img+2
  • October 20, 2022

@khireddinehiche​ We probably need to see the whole message and also the feature dump above to be able to interpret that error message