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

Reply via email to