Hi, 

Although this is a pretty old thread, I have a followup question on this one.

The debug messages are disabled by default. I thought that I can enable output using the DebugOn() option. However, the following does not work for me:

<pre>import vtk 
vtk.vtkObject.SetGlobalWarningDisplay(True)
a = vtk.vtkSphereSource()
a.SetCenter(0,0,0)
a.DebugOn()
a.Update()
</pre>

I would expect to see a message "SphereSource Executing piece index xx of yy pieces". (See <a href="https://github.com/Kitware/VTK/blob/c24799a287785046bdd82c3f9d165034d7ab9241/Filters/Sources/vtkSphereSource.cxx#L118" target="_top" rel="nofollow" link="external">here</a>.)


So how to enable the output on console? I am working in Python.

Thanks for any hints.
Norman

        
        
        
<br/><hr align="left" width="300" />
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>