<div dir="ltr"><div dir="auto">Hello Chuck<div dir="auto"><br></div><div dir="auto">Thank you very much for the helpful response. </div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div>I downloaded the latest binary and it worked immediately.</div><div><br></div><div><br></div><div>All the best</div><div>AA</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 Dec 2016 14:29, "Chuck Atkins" <<a href="mailto:chuck.atkins@kitware.com" target="_blank">chuck.atkins@kitware.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> Hi AA,<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>1) What is the best practice way to change the representation to Volume?</div><div>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?</div></div></blockquote><div><br></div><div>Show() returns the representation object that, if stored, you can use to set the volume representation:<br><br><div><span style="font-family:monospace,monospace">q = OpenDataFile("someFile.raw")</span></div><span style="font-family:monospace,monospace">...</span><div><span style="font-family:monospace,monospace">qDisplay = Show()</span></div><span style="font-family:monospace,monospace">qDisplay.SetRepresentationType<wbr>('Volume')</span><br></div><div> <br></div></div><br><div><div class="m_-3941077839646506784m_8313985291210134867m_-4040725392434551524gmail-m_-4492710195935995926gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<br><br></div></div></div></div></div></div></div><br></div></div>
</blockquote></div></div>
</div>