|December 4, 2013, 06:43||
Save VTK-LINES file with attributes for filter "Tube"
Join Date: Dec 2013
Posts: 1Rep Power: 0
Good morning to everyone,
I have a set of curves with different radius. I would like to save these curves as "VTK LINES" with the radius as attribute so that when paraview loads the file it uses automatically the filter Tube with the correct radius saved in the VTK file.
My problem is that I do not know how to "tell" Paraview to load automatically the filter TUBE with a certain radius.
Does anyone know the answer?
Thank you in advance!
|December 25, 2013, 12:09||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 39Rep Power: 99
Greetings PietroG and welcome to the forum!
Mmm... the filters usually are not applied automatically when a file is loaded. The only way to do so would be to rely on a "state" file, namely the ones with the extension "*.pvsm". And this would require the original VTK file to always have the same name.
In other words, you need to open at least once the VTK file in ParaView, then apply manually the filter Tubes and configure it accordingly to your needs. Then from the menu, choose "File -> Save State".
The only other possibility I can think of relies on a macro/Python script. Here's a nice example: Update data in ParaView post #14
|Thread||Thread Starter||Forum||Replies||Last Post|
|swak4foam building problem||GGerber||OpenFOAM Installation||54||April 24, 2015 16:02|
|Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12||keepfit||OpenFOAM Paraview & paraFoam||60||September 18, 2013 03:23|
|2.0.x on Mac OSX||niklas||OpenFOAM Installation on Windows, Mac and other Unsupported Platforms||74||March 28, 2012 16:46|
|mesh airfoil NACA0012||anand_30||OpenFOAM Meshing & Mesh Conversion||12||December 12, 2011 05:16|
|Axisymmetrical mesh||Rasmus Gjesing (Gjesing)||OpenFOAM Native Meshers: blockMesh||10||April 2, 2007 14:00|