Re: [Paraview] Attribute Error

2013-12-11 Thread S.Appanaboyina
Hi Paul,

Thanx for your suggestions. IT FINALLY WORKS !! :)

The SetPropertyWithName did the magic.

I also added animation to this .py script which saves it as a .avi file. It 
worked perfectly fine. The I used mpirun to run it on 2 procs. There were no 
execution problems. But, the final .avi file is not working.

Do I have to change something in the script if I have to run it parallel and 
save a .avi file?.

Best Regards,
Sunil


From: Paul Edwards [mailto:paul.m.edwa...@gmail.com]
Sent: Wednesday, December 11, 2013 4:21 AM
To: Appanaboyina, Sunil Kumar PTIN-PTT/ICOE
Cc: Sebastien Jourdain; paraview
Subject: Re: [Paraview] Attribute Error

It works for me if I set the PV_PLUGIN_PATH to point to the directory where the 
point sprite plugin is located.

Alternatively you edit the script to use the SetPropertyWithName for the ones 
relating to the plugin, e.g. 
DataRepresentation1.SetPropertyWithName('ConstantRadius', 0.0121232312)

Regards,
Paul

On 10 December 2013 08:35, 
s.appanaboy...@shell.commailto:s.appanaboy...@shell.com wrote:
Hi Sebastien,

Thanx for your reply,

Yes, I am using the PointSprite plugin. In order to enable this plugin with 
pvbatch I added the following line to the script. But still I get the same 
attribute error.

servermanager.LoadPlugin('/glb/apps/ffre-3rdparty/ParaView/ParaView-4.0.1/lib/paraview-4.0/libPointSprite_Plugin.so')

I also followed your advice of removing the ConstantRadius line from the 
script. But, now I get the same kind of error with the next statement in the 
script.

Am I doing anything wrong. How do I load a plugin to be used with 'pvbatch'.

Please help.

Best Regards,
Sunil


From: Sebastien Jourdain 
[mailto:sebastien.jourd...@kitware.commailto:sebastien.jourd...@kitware.com]
Sent: Monday, December 09, 2013 7:59 PM
To: Appanaboyina, Sunil Kumar PTIN-PTT/ICOE
Cc: paraview@paraview.orgmailto:paraview@paraview.org
Subject: Re: [Paraview] Attribute Error

Hi Sunil,

is it possible that you've enabled some plugin when you recorded your trace 
that are not present or enabled at the pvbatch execution time?

And easy fix could be to remove the line that cause the error.

DataRepresentation1.ConstantRadius = 0.10583775824451128

My guess is that propriety on the representation is not defined in the general 
case but may be extended via a plugin.

Seb

On Mon, Dec 9, 2013 at 2:48 AM, 
s.appanaboy...@shell.commailto:s.appanaboy...@shell.com wrote:
Hi,


I am very new to ParaView and have started using ParaView 4.1. I generated a 
python script using the Start Trace and Stop Trace method. Now I want to 
run this in batch mode. When I run the same python script using pvbatch I get 
the following error. I have included the script below. Please help.


Thank you very much,
Sunil


Error---
Traceback (most recent call last):
  File test_410_2.py, line 20, in module
DataRepresentation1.ConstantRadius = 0.10583775824451128
  File 
/glb/apps/ffre-3rdparty/ParaView/ParaView-4.0.1/lib/paraview-4.0/site-packages/paraview/servermanager.py,
 line 251, in __setattr__
to add this attribute.)
AttributeError: Attribute ConstantRadius does not exist.  This class does not 
allow addition of new attributes to avoid mistakes due to typos. Use 
add_attribute() if you really want to add this attribute.
-



python 
script---

from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

Fluid = XMLPolyDataReader( 
FileName=['/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0991.vtp',
 '/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0992.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0993.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0994.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0995.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0996.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0997.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0998.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid0999.vtp', 
'/glb/ap/bngsti/proj/ccoe/insap3/2D_progressivewave_toycase/Fluid1000.vtp'] )

AnimationScene1 = GetAnimationScene()
Fluid.PointArrayStatus = ['Density', 'Pressure', 'Velocitylacement']

AnimationScene1.EndTime = 9.0
AnimationScene1.PlayMode = 'Snap To TimeSteps'

RenderView1 = GetRenderView()
DataRepresentation1 = Show()
DataRepresentation1.ConstantRadius = 0.10583775824451128
DataRepresentation1.EdgeColor = [0.0, 0.0, 0.5762951094835]
DataRepresentation1.PointSpriteDefaultsInitialized = 1
DataRepresentation1.Texture = []
DataRepresentation1.RadiusRange = [0.0, 0.10583775824451128]

RenderView1.CenterOfRotation = [5.8816560222767293, 0.17167776415590197, 

Re: [Paraview] [EXTERNAL] XMLPolyDataReader Error on Windows (UNCLASSIFIED)

2013-12-11 Thread Magician
Hi Michael,


Thanks for your reply.
I hope the official binaries are built with validated libraries.
The errors may against the ParaView's concept - scalability.


Magician


2013/12/11 4:16、Stephens, Michael M ERDC-RDE-ITL-MS 
michael.m.steph...@erdc.dren.mil のメール:

 Classification: UNCLASSIFIED
 Caveats: FOUO
 
 ah yes. we've been down this road before.
 
 windows has a insidious bug in the the run-time environment.
 can't fseek properly.
 I have heard but can't not verify that if you build paraview with visual 
 studio 2012 or greater
 the bug has been fixed.  I know for a fact that building with VS 2010 do NOT 
 work.
 I don't know what kitware uses to build their window releases.
 
 -m
 
 -Original Message-
 From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On 
 Behalf Of Magician
 Sent: Tuesday, December 10, 2013 9:18 AM
 To: ParaView
 Subject: [EXTERNAL] [Paraview] XMLPolyDataReader Error on Windows
 
 Hi all,
 
 
 I have about 10GB pointcloud data with CSV format.
 The points have some kinds of scalar values.
 I opened the data and applied Table to Points filter, saved them as Binary 
 XML PolyData.
 The saved data were about 4GB.
 
 Then I tried to open them, but I got errors as below:
 ERROR: In 
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLDataParser.cxx, 
 line 604 vtkXMLDataParser (0D4BBA90): Error reading uncompressed 
 binary data header.  Read 0 of 4 bytes.
 
 
 ERROR: In 
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XML\vtkXMLDataReader.cxx, line 
 510 vtkXMLPolyDataReader (0D458AE0): Cannot read point data array 
 frame from PointData in piece 0.  The data array in the element may be too 
 short.
 
 When I saved VTP data, I used ParaView 4.0.1 on 64bit CentOS.
 The errors are dumped by ParaView 4.0.1 and 4.1.0 RC1 on 64bit Windows 7 Pro.
 I tried several machines but the results were same.
 The physical memories are over 16GB and HDD spaces are enough.
 
 I also tried other large VTP pointcloud data, they were about 2GB and had 
 same format as larger ones.
 The smaller (2GB) data could read by all ParaViews on Linux and Windows.
 
 Are there any differences between Linux to Windows?
 How can I open large (over 4GB) VTP data on Windows??
 
 
 Magician
 ___
 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
 
 Classification: UNCLASSIFIED
 Caveats: FOUO
 
 

___
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


Re: [Paraview] Custom filter with multiple inputs, unable to get different input labels

2013-12-11 Thread Utkarsh Ayachit
I can't remember if the UI allows you change the name but you should indeed
be able to change the exposed_name in the XML to your liking to overcome
this issue.

Utkarsh




On Tue, Dec 10, 2013 at 4:18 PM, Vanmoer, Mark W mvanm...@illinois.eduwrote:

  Hi, I created a custom filter that takes two inputs. During the Create
 Custom Filter wizard I set the Input Names to “Source” and “Filter” and add
 them.  However, when I use the filter the Change Input Dialog window lists
 the Available Input Ports as Input and Input. Is there a way to get the
 Change Input Dialog to use the names I entered? I exported the filter and
 the exposed_name attribute does have these listed.



 Thanks,

 Mark

 ___
 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


___
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


Re: [Paraview] Configurating the output for 2 monitors

2013-12-11 Thread Léo Pessanha
I am using windows

I solved the case with  2 monitors in the same gpu usig the parameter
GEOMETRY in the cave.pvx configuration file

Now, i have two desktop machines, one of them controls the main
screen(wall) and the other one controls the monitor in the floor

Creating a L-Shape

How can i set the display environment in this case using windows?

Should i have paraview compiled in order to do this type of configuration?




2013/12/4 Utkarsh Ayachit utkarsh.ayac...@kitware.com

  Should i use -tdx=2 and -tdy=1?  When i do that i get 2 windows
  superposed,
  in the same monitor and i can't move them, they are both green and i get
 the
  message error

 You should indeed be using this (if I understand what you're trying to
 do). You;d need another machine for the client in that case. Also you
 need to set display environment for each pvserver process such that it
 uses the correct monitor (assuming you're on Linux). Refer to
 http://paraview.org/Wiki/Setting_up_a_ParaView_Server#Using_a_Tiled_Display

 Utkarsh

___
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


[Paraview] adding music to an animation

2013-12-11 Thread Stephen Wornom

I create an animation from the frame jpgs using convert.
How does one add music to the animation?
Thanks,
Stephen

--
stephen.wor...@inria.fr
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX

Tel: 04 92 38 50 54
Fax: 04 97 15 53 51

attachment: stephen_wornom.vcf___
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


Re: [Paraview] adding music to an animation

2013-12-11 Thread Utkarsh Ayachit
What platform? On OsX you can use things like iMovie, I believe.

Utkarsh


On Wed, Dec 11, 2013 at 9:54 AM, Stephen Wornom stephen.wor...@inria.frwrote:

 I create an animation from the frame jpgs using convert.
 How does one add music to the animation?
 Thanks,
 Stephen

 --
 stephen.wor...@inria.fr
 2004 route des lucioles - BP93
 Sophia Antipolis
 06902 CEDEX

 Tel: 04 92 38 50 54
 Fax: 04 97 15 53 51


 ___
 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


___
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


Re: [Paraview] adding music to an animation

2013-12-11 Thread Stephen Wornom

Utkarsh Ayachit wrote:

What platform? On OsX you can use things like iMovie, I believe.

Linux Fedora 16 64 bit.
Stephen


Utkarsh


On Wed, Dec 11, 2013 at 9:54 AM, Stephen Wornom 
stephen.wor...@inria.fr mailto:stephen.wor...@inria.fr wrote:


I create an animation from the frame jpgs using convert.
How does one add music to the animation?
Thanks,
Stephen

-- 
stephen.wor...@inria.fr mailto:stephen.wor...@inria.fr

2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX

Tel: 04 92 38 50 54
Fax: 04 97 15 53 51


___
Powered by www.kitware.com http://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





--
stephen.wor...@inria.fr
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX

Tel: 04 92 38 50 54
Fax: 04 97 15 53 51

attachment: stephen_wornom.vcf___
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


[Paraview] Paraview 4.1.0 RC1 Darwin corrupts animation in state file

2013-12-11 Thread Matthias Graf
Did anyone else encounter problems with the release of paraview version 
4.1.0 RC1 Darwin for Mac OS X?


It corrupts the state file when saving it, e.g., the animation tracks 
are not displayed anymore after loading such a state file.
No version of paraview I've tried can handle the state file saved with 
4.1.0 RC1 Darwin, while the Lion version seems to be working properly.


I hope this bug will be fixed, so I can keep using my Darwin OS X.

Thanks,
Matthias Graf

--
Theoretical Division (Group T-4), Los Alamos National Laboratory
Mail Stop: B262, Los Alamos, New Mexico 87545, USA
-
graf(at)lanl.gov [email]  http://theory.lanl.gov
(505)667-8649 [phone]
(505)665-4063 [fax]

___
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


Re: [Paraview] Custom filter with multiple inputs, unable to get different input labels

2013-12-11 Thread Vanmoer, Mark W
Hi Utkarsh, I tried editing the XML file and it doesn't affect the GUI. 
However, I can see them in the Python shell if I do a dir() on the custom 
filter.
Mark

From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: Wednesday, December 11, 2013 7:47 AM
To: Vanmoer, Mark W
Cc: paraview
Subject: Re: [Paraview] Custom filter with multiple inputs, unable to get 
different input labels

I can't remember if the UI allows you change the name but you should indeed be 
able to change the exposed_name in the XML to your liking to overcome this 
issue.

Utkarsh



On Tue, Dec 10, 2013 at 4:18 PM, Vanmoer, Mark W 
mvanm...@illinois.edumailto:mvanm...@illinois.edu wrote:
Hi, I created a custom filter that takes two inputs. During the Create Custom 
Filter wizard I set the Input Names to Source and Filter and add them.  
However, when I use the filter the Change Input Dialog window lists the 
Available Input Ports as Input and Input. Is there a way to get the Change 
Input Dialog to use the names I entered? I exported the filter and the 
exposed_name attribute does have these listed.

Thanks,
Mark

___
Powered by www.kitware.comhttp://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

___
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


Re: [Paraview] Paraview 4.1.0 RC1 Darwin corrupts animation in state file

2013-12-11 Thread Utkarsh Ayachit
Matthias,

What version of OsX were you trying this on?

Utkarsh


On Wed, Dec 11, 2013 at 4:21 PM, Matthias Graf g...@lanl.gov wrote:

 Did anyone else encounter problems with the release of paraview version
 4.1.0 RC1 Darwin for Mac OS X?

 It corrupts the state file when saving it, e.g., the animation tracks are
 not displayed anymore after loading such a state file.
 No version of paraview I've tried can handle the state file saved with
 4.1.0 RC1 Darwin, while the Lion version seems to be working properly.

 I hope this bug will be fixed, so I can keep using my Darwin OS X.

 Thanks,
 Matthias Graf

 --
 Theoretical Division (Group T-4), Los Alamos National Laboratory
 Mail Stop: B262, Los Alamos, New Mexico 87545, USA
 -
 graf(at)lanl.gov [email]  http://theory.lanl.gov
 (505)667-8649 [phone]
 (505)665-4063 [fax]

 ___
 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

___
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


Re: [Paraview] Paraview 4.1.0 RC1 Darwin corrupts animation in state file

2013-12-11 Thread Matthias Graf

Utkarsh:

I am using OS X 10.6.8 where I encounter the problem with the saving of 
state files.
A simple inspection of the state file looks like all the information 
about the animation is saved.


Thanks, Matthias

On 12/11/13 3:28 PM, Utkarsh Ayachit wrote:

Matthias,

What version of OsX were you trying this on?

Utkarsh


On Wed, Dec 11, 2013 at 4:21 PM, Matthias Graf g...@lanl.gov 
mailto:g...@lanl.gov wrote:


Did anyone else encounter problems with the release of paraview
version 4.1.0 RC1 Darwin for Mac OS X?

It corrupts the state file when saving it, e.g., the animation
tracks are not displayed anymore after loading such a state file.
No version of paraview I've tried can handle the state file saved
with 4.1.0 RC1 Darwin, while the Lion version seems to be working
properly.

I hope this bug will be fixed, so I can keep using my Darwin OS X.

Thanks,
Matthias Graf

-- 
Theoretical Division (Group T-4), Los Alamos National Laboratory

Mail Stop: B262, Los Alamos, New Mexico 87545, USA
-
graf(at)lanl.gov http://lanl.gov [email] http://theory.lanl.gov
(505)667-8649 tel:%28505%29667-8649 [phone]
(505)665-4063 tel:%28505%29665-4063 [fax]

___
Powered by www.kitware.com http://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





--
Theoretical Division (Group T-4), Los Alamos National Laboratory
Mail Stop: B262, Los Alamos, New Mexico 87545, USA
-
graf(at)lanl.gov [email]  http://theory.lanl.gov
(505)667-8649 [phone]
(505)665-4063 [fax]

___
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