|
[Sponsors] |
[General] python script to group/append datasets |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 30, 2018, 17:25 |
python script to group/append datasets
|
#1 |
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 102
Rep Power: 14 |
I have some paraview python script to draw several boxes, eg:
box = Box(Center=[0, 0, 0],XLength=1.0,YLength=1.0,ZLength=1.0);Show() box = Box(Center=[1, 1, 0],XLength=1.0,YLength=1.0,ZLength=1.0);Show() box = Box(Center=[2, 2, 0],XLength=1.0,YLength=1.0,ZLength=1.0);Show() Next I want to script the selection of all boxes and group them together (?) This would be useful (grouping all boxes) to either change the representation to wireframe or surface, and to apply a slice to all the boxes. How do I script this, or is there another way to create a group of boxes? ...Thanks |
|
Tags |
append, group, python, script, sources |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Using python script for automatic post processing of openFoam | vPaquet | ParaView | 12 | December 16, 2021 04:30 |
python script to create geometry for salome, and then mesh | 6863523 | Mesh Generation & Pre-Processing | 4 | March 18, 2017 10:00 |
[General] How can I use python script to generate animation from 2000 frames of vtk datasets | LieyuShi | ParaView | 3 | March 10, 2016 14:37 |
[General] Python script: Auto-scale color scale | julien.decharentenay | ParaView | 2 | December 9, 2013 06:39 |
CentFOAM Python Script Installation: Error | socon009 | OpenFOAM Installation | 2 | May 26, 2012 10:36 |