How to get the id of points after append filter?

Hello!

I have dataset of composite type, and in order to use my algorithms which work wih Unordered grid, I use vtkAppendFilter. However, I also need some points ids which are stored in scalar in each of the datasets, and are present in appended dataset also, but I dont know how to map these old IDs to the new dataset

Help me very please, I ve spent many days and still have not found out how to do this

Thanks!

Hello,

If I understood it right, you can’t. Those IDs are actually indexes like an array’s indexes. Normally, you can only access the original dataset IDs by previously storing them a scalar field like you did and query the original ID values later.

best,

PC