[Paraview] Automating loading of binary files

Chuck Atkins chuck.atkins at kitware.com
Fri Dec 30 09:28:59 EST 2016


 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161230/95ef61f2/attachment.html>


More information about the ParaView mailing list