|
[Sponsors] |
[General] Access path of VTK-Reader-Files in python |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 27, 2017, 10:47 |
Access path of VTK-Reader-Files in python
|
#1 |
New Member
Join Date: Jul 2017
Posts: 2
Rep Power: 0 |
Hi,
unfortunately i had a faulty harddrive and lost all my paraview macros. I know it is possible to access the path of the vktfiles, which are imported in paraview for a specific source. In other words if you import a vtk-file-series and click on the information tab you can find the path of the files. I cant recall the command to access this path in python in paraview. By any chance someone knows the pythonline i am looking for? Max |
|
August 11, 2017, 12:44 |
|
#2 |
New Member
Join Date: Jul 2017
Posts: 2
Rep Power: 0 |
Hi,
just for all people who experience the same problem as i did. The python command to acces the file path of an active vtk source is "path_long = GetActiveSource().GetPropertyValue('FileNameInfo') " Cheers, Max |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running Parallel on Windows using Python Scripts | amarkkassery | SU2 Installation | 6 | April 4, 2013 12:37 |
Macro to access java files in sub-directory | abraum | STAR-CCM+ | 3 | July 11, 2012 02:46 |
[OpenFOAM] how to get access to ParaView Calculated Result via Python | Jack_FR | ParaView | 0 | June 5, 2012 19:25 |
Access to path length CEL ¿variable? | jrivera | CFX | 3 | September 28, 2011 07:08 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 20:51 |