Hi Bernhard,
The c++ class, vtkSMProxyManager, gets wrapped by a python class. So
dir(pxm) only shows you the methods added by the python class. To see
the available c++ methods, try dir(pxm.SMProxyManager) The proxy
manager is a special case, most pvpython objects are instances of
Proxy and yo
> On Mon, 31 Aug 2009 08:50:19 -0400
> "UA" == Utkarsh Ayachit wrote:
UA> To obtain the version number, you can do something as follows:
from paraview.simple import * pxm =
servermanager.ProxyManager() pxm.GetVersionMajor()
pxm.GetVersionMinor() pxm.GetVersi
To obtain the version number, you can do something as follows:
>>> from paraview.simple import *
>>> pxm = servermanager.ProxyManager()
>>> pxm.GetVersionMajor()
>>> pxm.GetVersionMinor()
>>> pxm.GetVersionPatch()
Utkarsh
On Mon, Aug 31, 2009 at 8:14 AM, Bernhard
Gschaider wrote:
>
> Thanks for
Thanks for the answer.
> On Mon, 31 Aug 2009 12:50:35 +0200
> "JMF" == Jean M Favre wrote:
JMF> Bernhard Gschaider wrote:
>> Hi!
>>
>> I have a script that I want to keep compatible with 3.4 and 3.6
>> (or at least it should fail with a meaningful error message on
Hi!
I have a script that I want to keep compatible with 3.4 and 3.6 (or at
least it should fail with a meaningful error message on 3.4). To do so
I want to find out which paraview-version the script is running
on. I did not find an API-call paraview.GetVersion() or similar. The
only two ways I fo