But the first two functions (Hide and Representation) in the menu work fine, they do change on the source I click. I wonder how to get the clicked source like the first two function in python script and how the other functions do not work.
Sounds incorrect to me. Thanks for reporting. @mwestphal@cory.quammen@utkarsh.ayachit What is expected behavior? All behavior should be the same. But what should take presidence? The selection in the pipeline browser or what the user clicks on with the mouse? I’m tempted to say what the mouse is on?
Thanks for the reply to confirm this issue. Beside it, I am curious about how Paraview infers the clicked source. I want to reproduce it in python script, but I cannot find any clue in the python trace tool.