Get Pipeline Filename String

Hi…I can’t seem to locate the python script function for accessing the filename of the currently selected Render View. I just want to access/print the text string of the filename…what is the python script command for that.
This is an easy one I think…but my searches have come up empty so far.

I try to use this simple command, but it does not return the string filename:


output: <paraview.servermanager.RenderView object at 0x7f91080c2990>

the filename of the currently selected Render View

This does not make any sense. What could make sense is to want to recover the name of the file currently shown.

  • Open ParaView
  • Open your file, Apply
  • Make sure that your file is highlighted (active) in the pipelinebrowser
  • View->Python Shell


A post was split to a new topic: Get the filename in the python programmable filter.