How to select the camera with the camera module

I went display the camera1 in the view1 by script. I searched in the forum but found nothing.
ID: vtkMRMLViewNode1
Camera ID: vtkMRMLCameraNode2

It would be something like this. If you go into the Dual 3D layout, rotate the views a bit, then go into the Developers->Cameras module you can play with it:

v = getNode('View1')
c = getNode('*Camera*')
c.SetActiveTag(v.GetID())
1 Like