Hi Yosef
On 2/9/23 14:42, Yosef Meller wrote:
Hi all.
Trying out the interactive example from the tutorial, after calling pb.save_regions_as_groups() I get a plot with only one view in sfepy-view:
sfepy-view -e regions.vtk -2 --grid-vector2 "[2, 0, 0]"
There is --grid-vector1 in the tutorial. But even this should show three fields. Can you try just
sfepy-view -e regions.vtk
without options?
[image: image.png] This is instead of 3 side-by-side regions shown in the tutorial. I checked and couldn't find anything I was doing different than the tutorial. The output from saving the regions lists all 3 regions, and the names appear in the output.
I also tried digging a bit into the code and saving the VTK as ascii format. There is one mesh and three fields in the file.
What am I missing or doing wrong?
It might be a pyvista-related issues. Can you try another VTK viewer? (e.g. vedo, paraview, ...)
r.