ParaView Trace Options: Controlling trace verbosity

Continuing covering the improvements to Python tracing capabilities in the upcoming ParaView 4.2, in this post, we'll see how to control the trace verbosity.

Figure 1: Trace Options Dialog

This is the option under General Settings group called 'Select which properties to save in trace'. There are 3 options:

  1. all properties
  2. any modified properties (default)
  3. only user-modified properties

What this setting basically controls if that when a new traceable module such as a source, reader, filter, view, etc. is to be added to the trace, which properties on this object do you want to trace.

(1) results in all properties being saved to the trace irrespective of whether you actually changed them using the Properties panel or custom user defaults. (2) saves any of  the properties that were modified either by your actions in panels, or data specific defaults selected by ParaView (e.g. automatically selected arrays for processing), as well as changes you make on the Properties panel. This is a good default since it generally ends up saving properites that you would care about. (3) is more restrictive option than (2), where only the properties that you modify on the Properties panel will be saved, none of the custom defaults or auto-detected values.

To see the difference, let's take a simple use-case:

  • Sphere -> Apply
  • Clip -> Change Normal to "Y Normal" -> Apply

And I've changed my  custom user defaults for Sphere to use Phi and Theta resolutions of 80 instead of the default 8.

Option 1: Trace all properties (editied to remove display properties for better readability online)

Option 2: Trace any modified properites

Options 3: Trace only user-modified properites

That should hopefull help understand the difference. I had to trim down the trace produced by Option 1 a little to make it readable. BTW, that comments are indeed added by the trace and not manually inserted afterwords!

Questions or comments are always welcome!