[Paraview] Is there a way to get the Paraview version from within a python script in batch?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Wed Aug 24 08:57:56 EDT 2011
pxm = servermanager.ProxyManager()
pxm.GetVersionMajor()
pxm.GetVersionMinor()
pxm.GetVersionPatch()
pxm.GetParaViewSourceVersion()
Utkarsh
On Wed, Aug 24, 2011 at 8:28 AM, Albina, Frank
<frank.albina at sauber-motorsport.com> wrote:
> Dear All!
>
> Is there a way to get the paraview version from within a python script? I
> could get the underlying VTK version with
> paraview.vtk.vtkVersion.GetVTKVersion(), but I could not manage to achieve
> the same with the paraview version, although it pops up to the output when
> performing: from paraview.simple import *.
>
> Cheers,
>
> Frank Albina.
>
> Mail frank.albina at sauber-motorsport.com
> Web http://www.sauber-motorsport.com
>
> P please consider the environment before printing this e-mail.
>
>
>
> _______________________________________________
> 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