Directly set flag for Python progress printing
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When you run a Python script with pvpython or pvbatch, by default you get output like
vtkFilter(10) : [ .................] vtkFilter(135) : [ .................] vtkFilter(137) : [ .................] vtkFilter(127) : [ .................] vtkFilter(139) : [ .................]
whenever filters execute. To turn it off (or on) you use the function servermanager.ToggleProgressPrinting().
However, using this function is annoying. Toggling a feature is fine for a GUI, but an automated script almost always simply turns it off or on. To turn it off, you have to go through the process of querying the flag and then conditionally toggling it. It would make much more sense to have a function that accepted a true/false flag to turn the feature on or off.