Re: [Paraview] write csv file

2018-05-02 Thread Miguel Aguirre
Hello Andrea, Maybe a Programmable Filter would be a better way. I use this approach to create csv files with data comming from slices: import csv #Create an empty csv file with headers: FilePath = "C:/Users/Miguel Angel AGUIRRE/Desktop/DataOutput.csv"

[Paraview] XML PLUGIN RELATIVE PATH

2018-04-30 Thread Miguel Aguirre
Hi all, I am working with Plugins for programmable filters that executes external Python scripts. So far, so good. However, I want to avoid to write the entire path of the Python file on the XML file, as you can see highlighted in bold on the XML code down below. Both, the XML and the Python

Re: [Paraview] 2D PLOT - AUTOMATIC AXIS TITLES

2018-03-28 Thread Miguel Aguirre
ables on > Y axis, which is very typical, and hence it's unclear what the > automatic name should be. > > Utkarsh > > On Wed, Mar 28, 2018 at 2:35 AM, Miguel Aguirre <aguirre@gmail.com> > wrote: > > Hello, > > > > I would like to know if there is a wa

[Paraview] 2D PLOT - AUTOMATIC AXIS TITLES

2018-03-28 Thread Miguel Aguirre
Hello, I would like to know if there is a way to automatically set the axis titles in a 2d plot, based on the parameters already selected for the plot. In fact, in the GUI one has to select the X- and Y-axis parameters to be plotted. So, why not to set these names into the plot in an automatic

Re: [Paraview] Sharing a library I wrote to generate ProgrammableFilters with property panel options

2018-03-16 Thread Miguel Aguirre
Hello Mr. Shuhao, Thanks for your contribution. I was facing the XML file creation some days ago and I also saw the link: https://blog.kitware.com/easy-customization-of-the-paraview-python-programmable-filter-property-panel/ However, I did not saw your github post in my google search, so maybe

[Paraview] XML Drop down list problem

2018-03-05 Thread Miguel Aguirre
Hello, I’m trying to do a Programmable Source with a drop down list like this (“ParametricSource” plugin example): https://github.com/themiwi/ParaView/blob/master/Examples/Plugins/ParametricSource/ParametricSource.xml Where the displayed properties menu depends on the selected option in the