Hello Chuck Thank you very much for the helpful response.
My version was the one that is available by default at the Trusty Tahr's repositories (4.0.1) and in that one, there was no SetRepresentationType. I tried with qDisplay.Representation="Volume" (following your formalism) but no matter what I tried in that version, the minute I was switching the representation the whole thing was coming down. I downloaded the latest binary and it worked immediately. All the best AA On 30 Dec 2016 14:29, "Chuck Atkins" <[email protected]> wrote: > Hi AA, > > 1) What is the best practice way to change the representation to Volume? >> 2) To get the representation, I first allow paraview to create the object >> and then look for it via its ID. Is there a way to retrieve it by name? >> > > Show() returns the representation object that, if stored, you can use to > set the volume representation: > > q = OpenDataFile("someFile.raw") > ... > qDisplay = Show() > qDisplay.SetRepresentationType('Volume') > > > ---------- > Chuck Atkins > Staff R&D Engineer, Scientific Computing > Kitware, Inc. > > >
_______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
