Which proxy is a current proxy?

Hello, dear ParaView developers!

Explain me please, which proxy is considered a current? Is it always a filter, which was accessed last and is selected in the pq in the left of paraview menu, active element of the pipeline?

Thanks you!

You mean active ?

Is it always a filter, which was accessed last and is selected in the pq in the left of paraview menu, active element of the pipeline?

There is a concept of ActiveSource, ActiveView and ActiveRepresentation.

The ActiveSource is indeed the selected filter in the pipeline browser, but it can be controlled programmatically too.

https://docs.paraview.org/en/latest/UsersGuide/filteringData.html

https://www.paraview.org/paraview-docs/latest/cxx/classpqActiveObjects.html

I am not sure whether the active is the came is current
pqActiveObjects::instance().activeSourcesSelectionModel()->GetCurrentProxy();

I think this is the same, but you may want to check the code to be sure.

1 Like

Thank you a lot!