Modify NamedViews with script

I try to modify viewInfo inside NamedViewTable. There is no CommitChanges() or a similar method.
There is a method called SetCameraLocation but can’t get it working, I’ve no way to apply it.
I call it assign the new ViewInfo and nothing.
In fact, I want to align_z all camera location in named views.
I’m sure I can do it through the active viewport… restore, delete, change, save… not pretty.
Is there a way to do it transparently (c# or python) ?


Other than scripting the NamedView command, our options are to use NamedViewTable.Add and NamedViewTable.Delete.

– Dale