[Paraview] applied texture is not in trace

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Mar 8 07:49:19 EST 2012


Hi Sonja,

If you save the state as a python file, you will be able to see the
objects created and their settings. That could help you for that one.

Seb

On Thu, Mar 8, 2012 at 4:48 AM, Habbinga, Sonja
<s.habbinga at fz-juelich.de> wrote:
> Hi,
>
> I'm still trying to get texture on a sphere animated over time. My new approach is to start a trace and see what happens when I change the texture in the Display dialog (with the intention to generate a python script which does this automatically for all of my timesteps). Unfortunately, the texture is not specified in the trace...
>
> try: paraview.simple
> except: from paraview.simple import *
> paraview.simple._DisableFirstRenderCameraReset()
>
> TextureMaptoSphere3 = GetActiveSource()
> DataRepresentation8 = GetDisplayProperties(TextureMaptoSphere3)
> DataRepresentation8.Texture = []
>
> Render()
>
>
>
>
> Any ideas how I can specify a texture out of a jpeg in a python script?
>
> Thanks for your help!
> Sonja
>
> -------------------------------------------------------------------------------
> -------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> -------------------------------------------------------------------------------
> -------------------------------------------------------------------------------
>
> Kennen Sie schon unsere app? http://www.fz-juelich.de/app
> _______________________________________________
> 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


More information about the ParaView mailing list