Rebekah,
I think you want to write
LoadState("/home/sophy/Desktop/%s.pvsm" % x)
to properly substitute your filename held in x into the path.
Also, you may want to clear out the loaded state after saving the
image, which you can do by calling
Disconnect()
Connect()
HTH,
Cory
On Fri, Jul 7,
Hey :)
I'm trying to script some code so that I can load a file in and then
WriteImage and then I want this to loop through multiple files so I don't
have to change the code each time for the new path. My problem is that
paraview won't recognise a path unless it is the exact path, so I can't get
it
On Fri, Jun 23, 2017 at 12:44 PM, Shuhao Wu wrote:
> Hello,
>
> I was wondering if there are any sort of general best practise when
> writing Python based Paraview scripts for visualizations. From the
> materials I've gathered, everything feels very much like mutating a global
> state machine, wh
Hello,
I was wondering if there are any sort of general best practise when
writing Python based Paraview scripts for visualizations. From the
materials I've gathered, everything feels very much like mutating a
global state machine, which might not be the best if you want to turn
certain actio
thanks guys I will try now,
Jose
On Wed, May 17, 2017 at 2:36 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:
> José,
>
> You'd need ParaView binaries with OSMesa support if your linux server
> doesn't have an X server. While typically, we suggest you build ParaView
> from source, for P
José,
You'd need ParaView binaries with OSMesa support if your linux server
doesn't have an X server. While typically, we suggest you build ParaView
from source, for ParaView 5.3, we have uploaded OSMesa capable binaries.
You can download that from here:
http://www.paraview.org/files/v5.3/ParaVie
Hi! Everyone,
I am familiar with ParaView Python scripting, however I need to run the
script in a linux server without graphical interface,
how can I install ParaView and disable graphical interface? any suggestions,
Jose
___
Powered by www.kitware.com
Hi Chris,
import clr
> clr.AddReference("DHI.Generic.MikeZero.DFS")
> from DHI.Generic.MikeZero.DFS import *
>
> This works well in "stand alone" python scripts. I tried using the same
> approach in ParaView/Programmable Source, but it can't find the CLR module.
>
If you're using the ParaView c
2016 6:30 PM
To: Christian Gabriel;
Cc: paraview@paraview.org;
Subject:Re: [Paraview] ParaView, Python and the CLR
You may need to set things like your PYTHONPATH and LD_LIBRARY_PATH in the
programmable source itself instead of in the environment you're running
ParaView from. For
You may need to set things like your PYTHONPATH and LD_LIBRARY_PATH in the
programmable source itself instead of in the environment you're running
ParaView from. For example:
import sys
sys.path.append("/home/me/mypy")
Remember that the programmable source runs the script on the server.
On Fri,
Good day
I'm trying to use a Programmable Source to read data from a proprietary file
format (DHI/MikeZero).
I have access to its SDK via Python, however, it uses managed code (natively
written in C#), hence I got my environment set up to use the CLR module and add
references to the MikeZero S
heers,
>
>
> Frank.
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Albina,
> Frank
> *Sent:* Mittwoch, 12. Oktober 2016 20:01
> *To:* David E DeMarle
> *Cc:* Del Citto, Francesco; paraview@paraview.org
>
> *Subject:* Re: [Paravi
, Francesco; paraview@paraview.org
Subject: Re: [Paraview] Paraview python script: passing images to PIL (python
image library)
David,
that’s excellent.
Thanks a lot.
Frank.
From: David E DeMarle [mailto:dave.dema...@kitware.com]
Sent: Mittwoch, 12. Oktober 2016 19:56
To: Albina, Frank
Cc: paraview
David,
that’s excellent.
Thanks a lot.
Frank.
From: David E DeMarle [mailto:dave.dema...@kitware.com]
Sent: Mittwoch, 12. Oktober 2016 19:56
To: Albina, Frank
Cc: paraview@paraview.org; Del Citto, Francesco
Subject: Re: [Paraview] Paraview python script: passing images to PIL (python
image
Look into the cinemaIO directory of ParaView. We move back and forth
between paraview, numpy and PIL often there.
For example:
image = self.view.CaptureWindow(1)
ext = image.GetExtent()
width = ext[1] - ext[0] + 1
height = ext[3] - ext[2] + 1
imagescalars = image.GetPointData().GetScalars()
idata
All,
A simple question: my incentive is to manipulate images using PIL in a pvbatch
script. At the time being, I am writing the images to file in PNG format and
reading the file again from disc using PIL. I have found out that the
underlying image writing is performed by the vtkPNGWriter class a
Dear users,
I would like to use PyQt4 with Paraview. I have installed Paraview from
pre-compiled binaries. When I am using pvpython, I cannot use PyQt4 since
this is not installed. Is there any chance that I could install PyQt4 with
pvpython? Otherwise, does any of you know how to configure Paravi
Hi Cory,
Thank you so much! It works after specifying the fill path.
Best regards,
Enrique
On Nov 12, 2015, at 8:31 PM, Cory Quammen wrote:
> Hi Enrique,
>
> It looks like the writer is attempting to write to / and doesn't have
> permission to do so. Try specifying the full path in the 'name
Hi Enrique,
It looks like the writer is attempting to write to / and doesn't have
permission to do so. Try specifying the full path in the 'name' variable.
HTH,
Cory
On Thu, Nov 12, 2015 at 6:02 PM, Enrique Lizarraga-Garcia <
enriliz...@gmail.com> wrote:
> Hi all,
>
> I would like to automate e
Hi all,
I would like to automate exporting csv files from countour of vtk files. I am
tracing the steps in paraview, but it somehow misses the last part,
saving/exporting as csv. When I do it manually, it saves n csv files, where n
is the number of blocks I have in my simulation. I have success
Damian,
What you want to do is basically to process the data. To do so, the best
way is to create a filter that will process them into the pipeline. If you
work in Python, use the Programmable Filter. Take a look at the related
wiki page: http://www.paraview.org/Wiki/Python_Programmable_Filter
Be
Hello,
I would like to check all cell types on a created pipeline slice with a
loop and do some further calculation based on the cell type.
My first test wit 'servermanager.Fetch()' failed, I have tried to get
access by using 'source.GetDataInformation() ...', but it does not work.
I was only
Thanks Utkarsh. This script solved my problem.
On Wed, Jul 15, 2015 at 7:44 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:
> Delete() will only remove the render view, not all other proxies that were
> created as part of the state loading operation. The following script should
> do the
Delete() will only remove the render view, not all other proxies that were
created as part of the state loading operation. The following script should
do the trick:
from paraview.simple import *
def ResetSession():
Dear All,
I am trying to load multiple state files by running a python script with
python shell. The script is the following
import the simple module from the paraview
from paraview.simple import *
for time in range(0,200):
renderView1 = GetActiveViewOrCreate('RenderView')
Ok thanks Utkarsh
On Tue, 26 May 2015 at 13:20 Utkarsh Ayachit
wrote:
> Bruce,
>
> Alas, you'll need to build from source (or wait till the changes land
> in ParaView nightly binaries). It's indeed a bug in the code that
> needs to be compiled.
>
> Utkarsh
>
> On Tue, May 26, 2015 at 1:16 PM, Br
Bruce,
Alas, you'll need to build from source (or wait till the changes land
in ParaView nightly binaries). It's indeed a bug in the code that
needs to be compiled.
Utkarsh
On Tue, May 26, 2015 at 1:16 PM, Bruce Jones
wrote:
> Thanks for the quick response Utkarsh. However, I am using the windo
Thanks for the quick response Utkarsh. However, I am using the windows
binaries and have not built paraview from scratch.
Cheers,
Bruce
On Tue, 26 May 2015 at 12:00 Utkarsh Ayachit
wrote:
> Bruce,
>
> Try the attached patch. You'll need to apply it to the VTK subdir
> under ParaView.
>
> Utkars
Bruce,
Try the attached patch. You'll need to apply it to the VTK subdir
under ParaView.
Utkarsh
On Tue, May 26, 2015 at 11:29 AM, Bruce Jones
wrote:
> Hi,
>
> I am trying to do some parallel programming within paraviews python shell
> and have encountered a problem. If I run the following two
Hi,
I am trying to do some parallel programming within paraviews python shell
and have encountered a problem. If I run the following two lines of code in
the python shell, the result is that a whole bunch of new paraview sessions
will be started...
from multiprocessing import Pool
pool = Pool();
Hi Christian,
Did you identify where the performance bottleneck occurs? Does it perform
well if you take out the writing or Fetch?
Best,
-berk
On Fri, Feb 20, 2015 at 8:05 AM, Thomas, Christian
wrote:
> Hi
>
> I'm writing a python script that uses several paraview filters. I then
> extract dat
Hi
I'm writing a python script that uses several paraview filters. I then extract
data from the final filter for further analysis in python. However, I'm having
a problem with the speed of the data extraction (can take several minutes). I
have tried writing to a file (createwriter) and then rea
Hello,
This is my first time using the Paraview listserv.
I am working on a python script to automate the production of images(for
purposes to making short videos from a data set). I am using Paraview version
4.1.0-64bit. My data is in an Ensight Gold format, which Paraview seems to
read i
-Original Message-
> From: Andy Bauer [mailto:andy.ba...@kitware.com]
> Sent: Wednesday, August 06, 2014 3:54 PM
> To: Su, Simon M CTR USARMY ARL (US)
> Cc: paraview@paraview.org
> Subject: Re: [Paraview] ParaView python vs VTK python api (UNCLASSIFIED)
>
> Hi Simon,
: [Paraview] ParaView python vs VTK python api (UNCLASSIFIED)
Hi Simon,
There is more information at
http://www.paraview.org/Wiki/Python_Programmable_Filter. The ParaView Python
API is meant for the client side of ParaView while the VTK Python API is meant
for the server side. You can mix and match
, August 06, 2014 3:51 PM
To: Sebastien Jourdain
Cc: paraview@paraview.org
Subject: Re: [Paraview] ParaView python vs VTK python api (UNCLASSIFIED)
Adding to what Andy and Seb said,
"ParaView can be viewed in some ways a wrapper around VTK filters" + that
often exist on remote MPI parallel
Bauer
Cc: Su, Simon M CTR USARMY ARL (US); paraview@paraview.org
Subject: Re: [Paraview] ParaView python vs VTK python api (UNCLASSIFIED)
Hi Simon,
if the VTK work that you are targeting is not parallel, you can directly run a
vtkpython script inside pvpython or pvbatch.
Otherwise Andy is right
tation that I can look up on the
> comparable
> Python API between VTK and ParaView?
>
> Thanks
> -simon
>
> -Original Message-
> From: Andy Bauer [mailto:andy.ba...@kitware.com]
> Sent: Wednesday, August 06, 2014 3:35 PM
> To: Su, Simon M CTR USARMY ARL (US)
>
Adding to what Andy and Seb said,
"ParaView can be viewed in some ways a wrapper around VTK filters" + that
often exist on remote MPI parallel processes + "."
In Paraview client side scripts (tools->Python Shell or pvpython or
pvbatch) you create python objects that create proxies that create rem
u, Simon M CTR USARMY ARL (US)
Cc: paraview@paraview.org
Subject: Re: [Paraview] ParaView python vs VTK python api (UNCLASSIFIED)
It may not be possible to do what you want explicitly. ParaView can be viewed
in some ways a wrapper around VTK filters. You can try the programmable filter
which us
Hi Simon,
if the VTK work that you are targeting is not parallel, you can directly
run a vtkpython script inside pvpython or pvbatch.
Otherwise Andy is right, you can not mix parallel ParaView and VTK python
code.
Seb
On Wed, Aug 6, 2014 at 1:35 PM, Andy Bauer wrote:
> It may not be possible
It may not be possible to do what you want explicitly. ParaView can be
viewed in some ways a wrapper around VTK filters. You can try the
programmable filter which uses the VTK Python API but is still intended to
operate like a filter (i.e. not modifying the input data sets, etc.).
Andy
On Wed, A
Classification: UNCLASSIFIED
Caveats: NONE
Hello,
I would like to run some of my VTK python code under ParaView (pvbatch or
pvpython). Where can I find documentation on porting VTK python code to use
ParaView python api? I need to create some VTK object in ParaView. Is there
a shortcut to this (l
BTW, this issue has been resolved in the development version of
ParaView and the fix will be included in the next release.
Utkarsh
On Thu, Jun 26, 2014 at 7:48 AM, Utkarsh Ayachit
wrote:
> I should have read the full email :)...ok..so this fails only with
> pvpython. I'll take a look.
>
> On Thu
I should have read the full email :)...ok..so this fails only with
pvpython. I'll take a look.
On Thu, Jun 26, 2014 at 7:47 AM, Utkarsh Ayachit
wrote:
> Ah! I think the Python calculator is corrupting the global context
> since both, the filter and the main script run within the same Python
> int
Ah! I think the Python calculator is corrupting the global context
since both, the filter and the main script run within the same Python
interpreter. Is this using pvpython or Python shell in the UI?
On Thu, Jun 26, 2014 at 6:30 AM, Ian Krukow wrote:
> Hi all,
>
> I like to keep different modules
Hi all,
I like to keep different modules apart in python, therefore I use
import paraview.simple as pv
instead of
from paraview.simple import *
I never had problems with this, until I included the Python Calculator
in my script. Whenever I call "pv.Show()" on the Python Calculator, "pv"
hello,
How do you write the output of the extract CTH parts filter to either pvd or
vtk file format using python script? Using the PV GUI, the menu option save
geometry will save the output to pvd formatted files.
I am using ParaView-4.1.0 on RHEL 5- 64bit (and RHEL 6 64bit). If I open PV and
eed a different writer class?
>
> thanks
> -simon
>
> --
> *From:* David E DeMarle [dave.dema...@kitware.com]
> *Sent:* Thursday, April 03, 2014 12:42 PM
> *To:* Su, Simon M CTR USAF (US)
> *Cc:* paraview@paraview.org
> *S
, April 03, 2014 12:42 PM
To: Su, Simon M CTR USAF (US)
Cc: paraview@paraview.org
Subject: Re: [Paraview] ParaView python scripting - capture from ParaView GUI
-- start python script --
try: paraview.simple
except: from paraview.simple import *
parav
-- start python script --
> try: paraview.simple
>
> except: from paraview.simple import *
>
> paraview.simple._DisableFirstRenderCameraReset()
>
>
> Cone1 = Cone()
>
>
> RenderView1 = GetRenderView()
>
>
> DataRepresentation1 = Show()
>
> DataRepresentation1.Sc
I believe, the trace does not capture the inputs and the outputs. What you
can do instead, is take the output of trace, add code to it for input and
output and
run using pvpython.
On Thu, Apr 3, 2014 at 11:56 AM, Su, Simon M CTR USAF (US) <
simon.m.su@mail.mil> wrote:
> Hello there,
>
> I
Hello there,
I am trying to cook up a batch file for the visualization pipeline that I am
doing on ParaView GUI so that I can run that same sequence in batch mode and in
parallel using pvbatch. I can get most of the python script using the
Tool->Start Trace option on ParaView GUI. However, Star
Hi Alan,
here is the way I do it when I code stuff in Sublime Text and directly
execute code within the editor.
import sys
pv_path = '/Users/seb/work/code/ParaView/build-ninja'
sys.path.append('%s/lib' % pv_path)
sys.path.append('%s/lib/site-packages' % pv_path)
from paraview.simple import *
Se
Hi Alan,
Are they working from a version of ParaView that used the installers?
That's what I'm assuming for my next comments. For Mac I think they need to
use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH. I tried going through to
do this myself and wasn't able to completely do it but was getting f
I have two users that wants to use ParaView paraview.simple commands from a
generic version of Python (i.e., not pvpython). Are there any tricks to
getting this to work? One user is on a Mac, the other is on Linux. As you can
see, my user is having issues even importing paraview.simple.
Here
I finally did it the dirty way.
I just copied (from the scipy sources) the functions needed to make my
project work.
Felipe
Le 09/12/2013 16:46, Utkarsh Ayachit a écrit :
You cannot mix and match Python provided by ParaView and system
python. You'll have to build ParaView from source if you
You cannot mix and match Python provided by ParaView and system
python. You'll have to build ParaView from source if you'd like to do
that, I am afraid.
Utkarsh
On Mon, Dec 9, 2013 at 10:43 AM, Felipe Bordeu
wrote:
> Hello,
>
> I'm trying to make my python script work with scipy but I'm unable m
Hello,
I'm trying to make my python script work with scipy but I'm unable make
it work. I tried :
the Paraview 4.0.1(pvpyton from the web) in linux (64 ubuntu 12.04)
with the scipy of my system (/usr/lib/python2.7/dist-packages ) and I get :
...
Traceback (most recent call last):
File
I forget why that was happening with Mac binaries on 4.0.1, but it's
safe to ignore it. I'll check to make sure that still not still the
case.
Utkarsh
On Tue, Oct 29, 2013 at 7:13 PM, Cook, Rich wrote:
> Hello,
> I am running the paraview 4.0.1 binary on my Mac and when I went to tools
> --> Pyt
Hello,
I am running the paraview 4.0.1 binary on my Mac and when I went to tools -->
Python Shell, a new window pops up with the following output which looks bad to
me.
Since I have never done any paraview python scripting, I wonder if someone can
tell me if this is normal. It looks rather seri
gt;
>>>
>>>
>>> On Tue, Nov 1, 2011 at 10:13 AM, David Dupuis <
>>> david.dup...@cadensimaging.com> wrote:
>>>
>>>> Sta.py is a Python state file I have created using “Save state” in the
>>>> GUI. Yes, it needs to open the GU
> david.dup...@cadensimaging.com> wrote:
>>
>>> Sta.py is a Python state file I have created using “Save state” in the
>>> GUI. Yes, it needs to open the GUI and load the whole pipeline saved in the
>>> Python State file.
>>>
>>>
>>>
* Adriano Gagliardi [mailto:agaglia...@ara.co.uk]
>> *Envoyé :* 1 novembre 2011 10:07
>> *À :* 'David Dupuis'; 'Utkarsh Ayachit'
>> *Cc :* paraview@paraview.org
>> *Objet :* RE: [Paraview] Paraview Python scripting
>>
>>
>>
>>
re 2011 10:07
> *À :* 'David Dupuis'; 'Utkarsh Ayachit'
> *Cc :* paraview@paraview.org
> *Objet :* RE: [Paraview] Paraview Python scripting
>
>
>
> What does sta.py do that it needs to open the GUI? Do you mean an X11
> window?
>
>
>
>
7;; 'Utkarsh Ayachit'
*Cc :* paraview@paraview.org
*Objet :* RE: [Paraview] Paraview Python scripting
What does sta.py do that it needs to open the GUI? Do you mean an X11
window?
===
Adriano Gagliardi MEng PhD
Business Sector Leader
Computational
Url: www.ara.co.uk
_
From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
On Behalf Of David Dupuis
Sent: 01 November 2011 14:00
To: Utkarsh Ayachit
Cc: paraview@paraview.org
Subject: Re: [Paraview] Paraview Python scripting
Hello Utkarsh,
The Python Shell
ything...
Thanks again!
David
*De :* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
*Envoyé :* 1 novembre 2011 09:35
*À :* David Dupuis
*Cc :* paraview@paraview.org
*Objet :* Re: [Paraview] Paraview Python scripting
Have you tried using the pvpython executable? It's sets up the environmen
Have you tried using the pvpython executable? It's sets up the environment
correctly for you. Alternatively, from the GUI, you can open the Python
Shell and and then use the "Load Script" button to load the script.
Utkarsh
On Tue, Nov 1, 2011 at 9:28 AM, David Dupuis wrote:
> Hello,
>
>
>
> I’m
Hello,
I’m manipulating different dataset and for each of them I have a different
setup (pipeline). I saved the state as a python file and plan to re-use the
python state file to re-open the whole pipeline for each dataset. It seems
that only *.psvm files can be loaded via “File -> Load state”
aglia...@ara.co.uk
Url: www.ara.co.uk
_
From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
On Behalf Of Raphael Muenster
Sent: 26 July 2011 14:15
To: paraview@paraview.org
Subject: [Paraview] Paraview python option "Show Plane" for slices
Hello,
I am
Hello,
I am trying to make screenshots with a python script, in principal it
works, but just one detail is not working how I would like it to be.
I applied a Slice filter with type 'Plane' to my input and I want to
take a screenshot of the slice. In the GUI (in the Properties tab of the
slice
That did the trick! Thanks.
--Nico
On Wed, Jun 8, 2011 at 6:19 PM, pat marion wrote:
> Try GetRenderView() instead of GetActiveView(). GetRenderView will get the
> active render view or create one if one does not already exist.
>
> Pat
>
> On Wed, Jun 8, 2011 at 12:16 PM, Nico Schlömer
> wro
Try GetRenderView() instead of GetActiveView(). GetRenderView will get the
active render view or create one if one does not already exist.
Pat
On Wed, Jun 8, 2011 at 12:16 PM, Nico Schlömer wrote:
> What do you mean by "v"?
>
> I took a wild guess and did
>
> == *snip* =
What do you mean by "v"?
I took a wild guess and did
== *snip* ==
from paraview.simple import *
reader = ExodusIIReader(FileName="solution.e")
view = GetActiveView()
view.UseOffscreenRenderingForScreenshots = 0
Show()
Render()
WriteImage("test.png")
== *snap* =
Try setting:
v.UseOffscreenRenderingForScreenshots = 0
before calling WriteImage.
Does that help?
Utkarsh
On Wed, Jun 8, 2011 at 12:01 PM, Nico Schlömer wrote:
> Yeah, render works fine.
>
> --Nico
>
>
>
> On Wed, Jun 8, 2011 at 6:01 PM, Utkarsh Ayachit
> wrote:
>> Does simply calling "Rend
Yeah, render works fine.
--Nico
On Wed, Jun 8, 2011 at 6:01 PM, Utkarsh Ayachit
wrote:
> Does simply calling "Render()" work?
>
> Utkarsh
>
> On Wed, Jun 8, 2011 at 11:22 AM, Nico Schlömer
> wrote:
>> Hi,
>>
>> everytime I call
>>
>> WriteImage("test.png")
>>
>> from on the python interfa
Does simply calling "Render()" work?
Utkarsh
On Wed, Jun 8, 2011 at 11:22 AM, Nico Schlömer wrote:
> Hi,
>
> everytime I call
>
> WriteImage("test.png")
>
> from on the python interface, no screenshot is created and instead the
> error message
>
> == *snip* ==
Hi,
everytime I call
WriteImage("test.png")
from on the python interface, no screenshot is created and instead the
error message
== *snip* ==
X Error of failed request: BadRequest (invalid request code or no
such operation)
Major opcode of failed request:
Hi,
I've been able to build Paraview on my x64 windows 7 machine using
cmake/vs2010. I recently tried to build the python components of paraview on
the same platform. I can create and generate the solution okay, but the build
fails with:
fatal error C1083: Cannot open source file: 'vtkAbstract
Hello Pat,
thanks for the explanation and help!
Best Regards!
Fabian
On 01/26/2011 04:42 PM, pat marion wrote:
Hi Fabian,
Please remember to include the paraview mailing list when you reply.
What you report is a bug, but you can avoid it- when you open your
openfoam dataset you should check
Hi Fabian,
Please remember to include the paraview mailing list when you reply.
What you report is a bug, but you can avoid it- when you open your openfoam
dataset you should check each block that you want to load *before you hit
apply for the first time*
The problem is the first time you load y
Oh, sorry... at work I got 3.8.1, I mixed this up. I thought that I had
there similar behavior (not the error message)... I will check again.
Best Regards!
Fabian
On 01/24/2011 09:45 PM, pat marion wrote:
You are using 3.8.0, not 3.8.1. If you use 3.8.1 to generate the trace
script you will n
You are using 3.8.0, not 3.8.1. If you use 3.8.1 to generate the trace
script you will not receive these errors.
Your script can also be fixed by hand- editing test_trace.py and move the
lines at the very bottom modifying Slice1, Slice2 and Slice3. Moving the
lines up so they appear after the
Hi Fabian,
Regarding your issue of python trace state not replicating your paraview
state exactly, I believe both issues you quote (camera position and cut
filter's slice property) have been addressed in the latest version of
paraview. If not, can you list the steps required to repeat the problem
Hello,
thanks for the info!
Is my impression correct, that in version 3.8.1 the python trace state
process is not as 'complete' as using the old state file approach?
For my case setup, e.g. there is not always the correct camera position
and the correct slices...
Best Regards!
Fabian
On 01/2
That page is ancient.
I think PVFWrap was the predecessor to paraview.simple which since 3.6
is the standard way to do ParaView python scripting (see python
trace).
The comments about paraview state files being too verbose have been
addressed since then as well.
Or did you mean something else?
D
No. PVFWrap was a prototype interface that has been substantially improved to
become the current paraview.simple. Most people use the python trace to
establish their initial python scripts and then modify them, but if you know
the names of the filters and only want to specify changes from defau
Hi,
I just found this page and wonder, if this will be a new approach for
python scripting:
http://www.paraview.org/ParaView3/index.php/Visualization_Script_Examples#Paraview_Python_Script_with_PVFWrap
In addition, there are comments about the VisIt way... do you plan
something like this!?
Hi,
I have write i python shript. It working fine in IDLE. But I want to run it
in the paraview python shell. I think the problem is that I use a relativ
path and not a absolut one.
How do i do to make the python shell use relative paths?
when I use os.listdir('.')
I allways get the same result.
CMAKE_MACOSX_DEPLOYMENT_TARGET
On Mon, Aug 2, 2010 at 8:07 PM, Berk Geveci wrote:
> Most probably. The only way to get around this (and other similar problems)
> is to build ParaView from source using the same version of Python and Qt
> as yours. Otherwise, you'll get conflicts. Also, make sure
Most probably. The only way to get around this (and other similar problems)
is to build ParaView from source using the same version of Python and Qt
as yours. Otherwise, you'll get conflicts. Also, make sure that your Mac
target is the same as your Python when building. I forgot the CMake variable
Hi all,
I am trying to import paraview.simple from an external Python
interpreter. I am trying to use the ParaView 3.8.0 binary distribution
and I have all my paths setup properly, but I'm getting the following error:
>>> import paraview.simple
Traceback (most recent call last):
File "",
I've done some testing, and I agree that it does appear to be working
correctly with 3.8.0RC1 and with a recent build of 3.9.0. I tested
with "--state=" and "--script=" and both are behaving correctly. I'd
say that this ticket can be closed.
Robert Maynard wrote:
I have updated the bug w
I have updated the bug with my testing. I was unable to reproduce on Windows
7 64bit and Linuxwith 3.8.0RC1 and Git Head. Tested reverse connection as
both manual and command startup.
Can you confirm that the reverse server setting is saved in one of the pvsc
files (http://www.paraview.org/Wiki/Pa
Ah! But of course :). I am adding it to the bug tracker.
http://paraview.org/Bug/view.php?id=10480
Utkarsh
On Fri, Mar 26, 2010 at 1:44 PM, Rick Angelini
wrote:
> Utkarsh - this also works well under some circumstances, but leave it to the
> customers to figure out how to break it. If we start
Utkarsh - this also works well under some circumstances, but leave it to
the customers to figure out how to break it. If we startup paraview:
paraview --server=Host --script=myscript.py
And "Host" is a reverse-connection, the python script executes locally
without waiting for the remote serv
Feel free to add a feature request for that on the bug tracker.
http://paraview.org/Bug
Utkarsh
On Wed, Mar 24, 2010 at 3:58 AM, Mark Olesen wrote:
> On Tue, 2010-03-23 at 19:23 -0400, Utkarsh Ayachit wrote:
>> I've added a new --script option to specify python script to be run on
>> startup.
On Tue, 2010-03-23 at 19:23 -0400, Utkarsh Ayachit wrote:
> I've added a new --script option to specify python script to be run on
> startup.
This is a bit off-topic, but got me thinking about command-line options
again.
Would there be a way to specify multiple '--data=...' on the
command-line?
I've added a new --script option to specify python script to be run on startup.
Utkarsh
On Fri, Mar 19, 2010 at 3:49 PM, Utkarsh Ayachit
wrote:
> That's a reasonable request. We don't have such an option currently.
> Let me see if I can add it before 3.8.
>
> Utkarsh
>
> On Fri, Mar 19, 2010 at
1 - 100 of 112 matches
Mail list logo