On 02/03/16 15:57, Utkarsh Ayachit wrote:
This makes me wonder when to use paraview.servermanager.LoadState?
Should the example
(http://www.paraview.org/Wiki/ParaView/Python/Loading_and_saving_state) be
changed to use paraview.simple.LoadState?
There's really no reason to directly use servermanager.LoadState
except for advanced users. I've updated the Wiki.
Thanks for the answer and the update.
Also, what to do about this warning:
vtkSMProxyIterator (0x61ef820): ProxyManager is not set. Can not perform
operation: Begin()
I wasn't able to reproduce this warning with the attached state file
and your render-view.py script. Any ideas? I am running as follows:
./bin/pvpython /tmp/sample.py -i /tmp/sample.pvsm -png /tmp/foo.png
I'm getting the same warning with Your sample.pvsm. Possibly because I'm still
using paraview version 4.4.0? I'll give it a try with a newer PV and report back
if the warning remains.
Thanks again.
Roman
--
Dr. Roman Grothausmann
Tomographie und Digitale Bildverarbeitung
Tomography and Digital Image Analysis
Institut für Funktionelle und Angewandte Anatomie, OE 4120
Medizinische Hochschule Hannover
Carl-Neuberg-Str. 1
D-30625 Hannover
Tel. +49 511 532-2900
_______________________________________________
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