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: [email protected]
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

Reply via email to