We actually just tried to do the same thing for the first time yesterday and had the same issues... so if anybody has an answer, we'd like it too!
Is it just a matter of accessing some kind of data pulled in from the state file and doing a Show() or something? I got the data to appear that way (SelectActiveSource(); Show()), but the views aren't right. Tim ----- Original Message ----- From: "Villads Egede" <s052...@student.dtu.dk> To: paraview@paraview.org Sent: Wednesday, August 17, 2011 4:11:40 PM Subject: [Paraview] Python - load state just like when using the GUI Hi, I'm fairly new to Paraview but am trying to get a hang on it. My problem is that I need to make some animations by loading different datasets rendered the same way. After having looked at the state file (pvsm) one can save in the GUI I thought it would be piece of cake to open these ones via a Python script and then save a screenshot from there (thus being able to replace the path to the dataset and then being able to create the animation), but when I do that, all the view settings are not loaded in contrast to when I do it through the GUI. Is there a way to "execute" the settings from the state? Best regards Villads Egede, Denmark _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview