This module is used to export complete CoProcessing Python scripts that can be used in a vtkCPPythonScriptPipeline.
This module uses paraview.cpstate Module to dump the ParaView session state as a an Python class description that can be then be used in the CoProcessor.
The exported script can be used in a vtkCPPythonScriptPipeline instance for CoProcessing.
paraview.cpexport.
DumpCoProcessingScript
(export_rendering, simulation_input_map, screenshot_info, rescale_data_range, enable_live_viz, live_viz_frequency, cinema_tracks, array_selection, filename=None)[source]¶Returns a string with the generated CoProcessing script based on the options specified.
First three arguments are same as those expected by cpstate.DumpPipeline() function.
cinema_tracks :- cinema offline visualizer parameters array_selection :- selected value arrays for cinema filename :- if specified, the script is written to the file.