VTKPythonAlgorithm Writers cannot handle composite datasets
The functionality using decorated
VTKPythonAlgorithmBase classes as ParaView plugins has a composite support option for the
smdomain input property that does not work for writers.
@smproxy.writer(...) @smproperty.input(name="TableInput", port_index=0) @smdomain.datatype(dataTypes=["vtkTable"], composite_data_supported=True) class MyWriter(VTKPythonAlgorithmBase): ...
composite_data_supported=True flag works incredibly well for
@smproxy.filter(...) algorithms, however, the composite data pipeline requires the algorithm to have an output port (which a writer doesn't have) and throws an error upon update.
Could there be a solution to this? It would need to handle altering the filename as well to save out each object in the composite dataset separately.
@utkarsh.ayachit, any thoughts?