[Paraview] View control with Python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Mar 19 10:37:49 EDT 2012


> But I Couldn't find function as "Center of Rotation"
> on Adjust Camera panel.
> How can I control it with Python?

Try:
> view = GetActiveView()
> view.CenterOfRotation = [0, 0, 0]

> And also I want to get a ParaView's Python reference.
> We can find scripting tutorials on Users' Guide or Wiki,
> but it's very difficult to find unpopular functions.
> Is there a document on which all Python functions
> are introduced?

Nothing exhaustive, but that maybe a good idea. In general you can
always do help(object) to discover properties, or use tracing
mechanism to determine how to change a particular entity.

Utkarsh


More information about the ParaView mailing list