catalyst Package

catalyst Package

Module intended to provide functions used in Catalyst scripts. This is public API and must preserve backwards compatibility so that older versions of Catalyst scripts continue to work as ParaView code keeps evolving. Hence, we limit the API exposed here to bare minimum.

paraview.catalyst.Options()[source]

Creates and returns an options object which is used to configure Catalyst specific options such as output directories, live support, etc.

paraview.catalyst.get_args()[source]

For the active pipeline script, returns “args”, if any, specified when the script initialized in the Catalyst adaptor.

This is currently only supported for adaptors that use Catalyst 2.0 Adaptor API. For legacy adaptors, this will simply return an empty list.

Return value is a list of strings.

paraview.catalyst.get_execute_params()[source]

For the active pipeline script, returns “parameters”, if any, specified during the execute phase in the Catalyst adaptor.

This is currently only supported for adaptors that use Catalyst 2.0 Adaptor API. For legacy adaptors, this will simply return an empty list.

Return value is a list of strings.

paraview.catalyst.get_script_filename()[source]

For the active pipeline script, returns its filename. This is provided in the same form as it was passed to vtkCPPythonScriptV2Helper::PrepareFromScript.

paraview.catalyst.log_level()[source]

Returns the Python logging level to use to log informative messages from this package