[Paraview] delete all applied filters from pipeline
Fabian Braennstroem
f.braennstroem at gmx.de
Wed Apr 20 09:49:44 EDT 2011
Hello,
I am looking for a way to remove all applied filters from the pipeline
except the loaded data (e.g. ensight or openfoam).
If one know, the filter before, I can do it like this:
Slice1 = FindSource("Slice1")
DataRepresentation3 = GetDisplayProperties(Slice1)
Slice2 = FindSource("Slice2")
DataRepresentation4 = GetDisplayProperties(Slice2)
SurfaceVectors1 = GetActiveSource()
DataRepresentation5 = GetDisplayProperties(SurfaceVectors1)
Glyph1 = FindSource("Glyph1")
DataRepresentation6 = GetDisplayProperties(Glyph1)
Plane1 = FindSource("Plane1")
DataRepresentation7 = GetDisplayProperties(Plane1)
Delete(DataRepresentation7)
Delete(Plane1)
ExtractBlock1 = FindSource("ExtractBlock1")
Delete(ExtractBlock1)
Delete(DataRepresentation6)
Delete(Glyph1)
Delete(DataRepresentation5)
Delete(SurfaceVectors1)
Delete(DataRepresentation4)
Delete(Slice2)
Delete(DataRepresentation3)
Delete(Slice1)
but is there a way to list all applied filters, which then could be
delete in the right order?
Best Regards
Fabian
More information about the ParaView
mailing list