Link camera views via python script

I am generating 4 different RenderViews via Python.

Is there a way to programmatically link them together (Right click on view -> Link camera). I have tried to trace while doing it manually, but there is no sign of this action in the traced python code.


Assuming you have references to the different views called view1 and view2, you can use AddCameraLink(view1, view2, name) to link them where name is a string serving as a name for the link.


Perfect. Thanks!

Tracing camera linking will be fixed in ParaView 5.7: