[Paraview] Select points based on coordinates
Yifei Ma
yifei85.ma at gmail.com
Wed Sep 13 12:32:19 EDT 2017
Hi Dennis,
Sorry that I wasn't clear about the data file. The "Loc" DataArray is not
included in the original data. I simply copy&paste the "Position" DataArray
and re-named it "Loc" in order to find data based on its location. This is
a workaround and it works just fine for small data files. However, my
original data is quit huge and I have to do the copy&paste for thousands of
files to make the workaround work. Also file size will be increased
significantly by using this method. Since the "Position" information is
already included in each data file. I am wondering if there is a way to
access it in "Find Data". If so, I don't need to replicate it to create
"Loc".
Thanks,
Yifei
On Wed, Sep 13, 2017 at 7:57 AM, Dennis Conklin <dennis_conklin at goodyear.com
> wrote:
> Yifei,
>
>
>
> I don’t understand the issue.
>
> I DL’ed your file and proceeded as follows
>
> Edit/Settings/General/Auto Convert Properties checked (On)
>
>
>
> Find Data
>
> Find POINTS in test_data.vtu
>
> Loc(0) is >= 0.009
>
> Run Selection Query
>
> Extract Selection
>
>
>
> This correctly extracted the 1 point met that requirement
>
>
>
> If I change to a query of
>
> (Loc[:,0] >= .008) & (Loc[:,1] >= -.0004) then it correctly selects the
> single point that meets that criteria.
>
>
>
> Perhaps the difficulty is because you haven’t set Auto Convert Properties
>
>
>
> Hope this helps.
>
> Dennis
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170913/d1a40ed6/attachment.html>
More information about the ParaView
mailing list