The indices of the points selected are in a field called "vtkOriginalPointIds".
It is a field with a special meaning and is hidden in some cases.
if you write the selected data to disk, it will show up as field
"vtkOriginalPointIds"
Consider the pvpython code below:
from paraview.simple
On Wed, Jun 6, 2018 at 9:37 AM Sarah Flaherty wrote:
> If it does not show in the trace, is it possible to access those numbers
> through the python shell?
>
Alas, the situation is the same.
As a workaround, you can add a GenerateIds filter to your data to generate
point and cell IDs, and add
Cory,
If it does not show in the trace, is it possible to access those numbers
through the python shell?
Sarah
From: Cory Quammen
Sent: Wednesday, June 6, 2018 9:31:41 AM
To: Sarah Flaherty
Cc: paraview@public.kitware.com; ParaView
Subject: Re: [Paraview] Fw:
Hi Sarah,
I'm afraid that selections are not currently well supported in Python.
Because of that, they are not recorded in Python traces.
It is on our todo list to provide a real Python API for selections in one
of the next ParaView releases.
Best regards,
Cory
On Wed, Jun 6, 2018 at 9:17 AM
Paraview,
I am trying to have the index of the points that are selected and extracted
displayed in the trace. They are seen in the Properties Bar on the right when
the ExtractSelection1 is active, however they are not seen in the trace. How do
I get this information into python script or the