[Chimera-users] setting viewing pref using python

Tom Goddard goddard at sonic.net
Mon Jun 15 09:46:45 PDT 2015

The code for the Viewing dialog is in chimera/share/chimera/viewing.py.  The following sets stereo parameter units to mm and side view to “top”.


from chimera import dialogs
from chimera.viewing import ViewerDialog, UnitOption
d = dialogs.find(ViewerDialog.name)

> On Jun 13, 2015, at 12:39 AM, Dougherty, Matthew T wrote:
> the viewing dialog sets the Camera:Stereo parameters:units to inches, and Side View:Side to right.
> using python how can I reset them to mm & top?
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> ===========================================================================
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150615/c03d0c3b/attachment.html>

More information about the Chimera-users mailing list