Hello,

I'm using the lastest nightly build of ParaView 4.0.1 Windows 64bit on Windows 
7.
I'm try to develop a Python macro that will allow me to setup the scalar bar 
after applying some other filters to the pipeline. I'm trying to establish the 
required Python commands by turning on the trace feature, changing things in 
the GUI (specifically: Color Scale Editor - Interpret values as Categories - 
Color Legend Tab, change font size, tick flip labels, tick show NaN, label as 
"texty foos"), and then stop trace. I'm starting and stoping the trace directly 
in the Python Shell using:

from paraview import smtrace
smtrace.start_trace(CaptureAllProperties=True)
# Do stuff in GUI
smtrace.stop_trace()
smtrace.print_trace()

However the results is always:

try: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()


Render()
But none of the commands for fonts, text, NaN etc are there.
I've tried many variants of dir() and help() for various combinations of 
objects, but have had no success and have spent far too long on something that 
should be trivial.

Any help greatly appreciated.

Thanks, Bob

                                          
_______________________________________________
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