Create a label from file

If you want the result of Annotate Attribute Data to output the value from a different row each time, do the following (after completing the original instructions).

  1. Open the Animation View (View -> Animation View).
  2. Create a track for AnnotateAttributeData1 and Element Id.
  3. Double-click on the newly-created track.
  4. Set the Value of the first keyframe to 0. Set the Value of the second keyframe to the number of rows in spreadsheet minus 1.

Now when you play the animation, the value reported by Annotate Attribute Data will change. If you find working with the Animation View confusing, I suggest going through the animation exercises in the ParaView Tutorial.

One more thing, I would suggest renaming snf_quads.dat to snf_quads.txt instead of snf_quads.csv. ParaView will treat these two filenames the same, but other programs will assume that a .csv file will have comma separated values (which is what csv stands for). A file with space delimiters is usually named with a .txt extension.

1 Like