[Paraview] Select points based on coordinates
Hi Paraviewers, I am trying to extract points based on the coordinates. I tried to use "Find Data" but with no success. I am wondering how can I obtain such a goal with "Find Data"? Or is there a workaround? FYI, I am using Paraview 5.4.1-RC3 64-bit on Windows 10. Thanks, Yifei ___ 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
Re: [Paraview] Select points based on coordinates
Hello. Possibly the Threshold filter is what you looking for (if you need to select a number of points in specified coordinates range). You can use 2-3 filters in series to shape the region in 3 cartesian directions. 2017-09-11 23:12 GMT+03:00 Yifei Ma : > Hi Paraviewers, > > I am trying to extract points based on the coordinates. I tried to use > "Find Data" but with no success. I am wondering how can I obtain such a > goal with "Find Data"? Or is there a workaround? > > FYI, I am using Paraview 5.4.1-RC3 64-bit on Windows 10. > > Thanks, > Yifei > > ___ > 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 > > ___ 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
Re: [Paraview] Select points based on coordinates
Hello Andrew, Thanks for your response. I tried the Threshold filter for my data (attached behind), I still cannot figure out how to choose points using coordinates. In the Properties tab of Threshold filter, I can only use diameter to specify the data range. Coordinate is not an option in the drop down list (see picture below). [image: Inline image 1] Could you explain more about how to use coordinates of the points in the threshold filter, please? Thanks, Yifei On Tue, Sep 12, 2017 at 5:26 AM, Andrew wrote: > Hello. > Possibly the Threshold filter is what you looking for (if you need to > select a number of points in specified coordinates range). You can use 2-3 > filters in series to shape the region in 3 cartesian directions. > > 2017-09-11 23:12 GMT+03:00 Yifei Ma : > >> Hi Paraviewers, >> >> I am trying to extract points based on the coordinates. I tried to use >> "Find Data" but with no success. I am wondering how can I obtain such a >> goal with "Find Data"? Or is there a workaround? >> >> FYI, I am using Paraview 5.4.1-RC3 64-bit on Windows 10. >> >> Thanks, >> Yifei >> >> ___ >> 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 >> >> > > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 > > test_data.vtu Description: Binary data ___ 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
Re: [Paraview] Select points based on coordinates
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
Re: [Paraview] Select points based on coordinates
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 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 > > ___ 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