Nothing that I am aware of. You could potentially write a filter that
coverts the cell type to an cell data attribute and then you could
threshold by that -- but that's not much different than what you're
already doing.


Utkarsh

On Tue, Dec 15, 2015 at 4:54 PM, Viktor Sip <viktor....@centrum.cz> wrote:
> Dear all,
>
> is there a way to filter and show only a specific cell type?
>
> In my application I am exporting a PolyData VTK file containing some Polys
> and Lines. When imported into Paraview, both Polys and Lines are shown, and
> I did not find a simple way to show only Polys.
> What I can do is to export additional CellData array with a number
> specifying cell type and then apply Treshold in Paraview. However that seems
> redundant, as the type is already stored in the file somewhere.
> So my question is, is there a direct way?
>
> Simplified example of the exported VTK file is attached.
>
> Kind regards,
> Viktor
>
> _______________________________________________
> 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

Reply via email to