[Paraview] accessing the data of an STL file from the python shell

Berk Geveci berk.geveci at kitware.com
Fri Feb 27 20:45:47 EST 2009


The servermanager module has a Fetch method that would let you do
this. I can't remember the syntax; try help(servermanager.Fetch)

-berk

On Fri, Feb 27, 2009 at 9:32 AM, Olivier Macchion
<olivier.macchion at gmail.com> wrote:
> Hello
>
> I imported a STL file into Paraview and I would like to know how to access
> the points and cells of the imported polygonal mesh from the python shell.
>
> I have been reading the document "Paraview Scripting with Python" but I
> can't figure out how to access data that is already imported in Paraview
> with Python.
>
> Is there a way of listing all the created objects already present in the
> state?
>
> Thanks for your help
>
> Best regards
>
> Olivier
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list