|
[Sponsors] |
August 7, 2017, 11:44 |
First script
|
#1 |
Member
badoumba
Join Date: Aug 2013
Posts: 68
Rep Power: 12 |
Hi all,
Using paraFoam command to get my OF solver results in paraview, I am trying to script a tool where I could get the dimensions a specific object loaded and add a cut filter at a specific location based on these dimensions. I've never done such a thing. Should I just start trying with the Python shell and simple.* loaded ? Is there any example where I can get data from a scene object, and/or apply a filter an an existing object ? Every tuto I found works with the viewer. Maybe should this be a single customFilter ? Is all I need to achieve this is in this page? Thank you guys. |
|
August 7, 2017, 12:29 |
|
#2 |
Member
badoumba
Join Date: Aug 2013
Posts: 68
Rep Power: 12 |
Hi again,
I think I managed to run the basics. How do I know which properties are available for a selected object ? GetProperty requires a property name. Can I list the available properties for my object? (aka the y range min and y range max in my case) Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Split connectors at their intersection | FOUAD12 | Pointwise & Gridgen | 3 | October 8, 2018 10:42 |
ZR Effect in Autogrid5 as a script | parthiv1991 | Fidelity CFD | 0 | July 30, 2018 09:10 |
[Workbench] Run ICEM Script in Workbench Script | MIZOR | ANSYS Meshing & Geometry | 9 | April 4, 2018 07:45 |
CentFOAM Python Script Installation: Error | socon009 | OpenFOAM Installation | 2 | May 26, 2012 09:36 |
Perl script for intialisation | pratik mehta | CFX | 2 | September 10, 2008 03:09 |