Changes between Version 21 and Version 22 of ChimeraAnimationState


Ignore:
Timestamp:
Jan 27, 2011, 2:22:58 PM (15 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraAnimationState

    v21 v22  
    129129}}}
    130130
     131=== Molecules ===
     132
     133Molecule models have some global attributes, like {{{display}}} and {{{color}}}, that can alter their appearance.  Note that color properties will propagate into all elements of a molecule model (residues, atoms, bonds) that do not have any specific 'component' settings.  Whenever a component (residue, atom, bond) has it's own color properties, they override the global molecule color properties.
     134
     135{{{
     136#!python
     137>>> m.display
     138True
     139>>> m
     140<_chimera.Molecule object at 0x4f464b8>
     141>>> m.color.ambientDiffuse
     142(1.0, 1.0, 1.0)
     143>>> m.color.isTranslucent
     144<built-in method isTranslucent of _chimera.MaterialColor object at 0x4f5a3a0>
     145>>> m.color.isTranslucent()
     146False
     147>>> m.color.opacity
     1481.0
     149>>> m.color.opacity = 0.5
     150>>> m.color.opacity = 0.1
     151>>>
     152}}}
     153
    131154
    132155