[Paraview] Problem with ColorMap and smtrace

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Oct 12 14:51:09 EDT 2015


What version of ParaView are you using? I couldn't reproduce the issue
with 4.4. Also, I had to remove the  `config.SaveCameras` line in my
testing.

On Mon, Oct 12, 2015 at 9:47 AM, Laurent Spitaels <spitaels at vki.ac.be> wrote:
> Good morning,
>
> I wrote a macro which is able to start a trace and when I stop it, it save
> the trace in a given repository.
>
> The problem is that I don’t have the information related to the Color Map.
>
> My code is:
> # 1st macro
> from paraview import smtrace
> config = smtrace.start_trace()
> # config is an instance of vtkSMTrace. One can setup properties on this
> # object to control the generated trace. e.g.
> config.SetFullyTraceSupplementalProxies(True)
> config.SaveCameras()
>
> # 2nd macro
> import ConfigParser
> from paraview import smtrace
> import time, datetime, os, shutil
> # stop trace. The generated trace is returned.
> txt = smtrace.stop_trace()
> write_trace(txt) # external function to write the content in a file
> smtrace.reset_trace_output()
>
> Thank you for your help,
> Laurent
>
> ----
> Laurent Spitaels
> Software engineer
> von Karman Institute for Fluid Dynamics
> Waterloosesteenweg 72, B-1640 Sint-Genesius-Rode, Belgium
> Mail: spitaels at vki.ac.be
> Tel: 0032 (0)2 359 96 74
>
>
>
>
>
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list