[Chimera-users] Volume surface colors
will at lifesci.dundee.ac.uk
Mon Mar 15 06:11:26 PDT 2010
I'm trying to write a script to change the surface colors of volumes
This is what I have so far.
for m in chimera.openModels.list():
m.surface_colors = [(1.0, 0.0, 0.0, 1.0)]
This seems to alter the surface colors, but has no effect on what the
maps look like in the UI.
Do I need to call something else for the UI to be updated, or am I
using the wrong approach entirely?
Also, I would like to only select the volumes in the first line but I
don't know what modelTypes this is:
for m in chimera.openModels.list(modelTypes=[chimera.Molecule]):
Wellcome Trust Centre for Gene Regulation & Expression
College of Life Sciences
University of Dundee
Dundee DD1 5EH
Phone 01382 386364
More information about the Chimera-users