Changes between Version 7 and Version 8 of ChimeraAnimationState


Ignore:
Timestamp:
Jan 4, 2011, 3:37:41 PM (15 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraAnimationState

    v7 v8  
    8282}}}
    8383
     84=== Atom Representations ===
     85
     86Each atom in a molecule has a drawMode attribute, with possible values: 0 = 'dot', 1 = 'sphere', 2 = 'endcap', 3 = 'ball'.  These values can be compared with the equivalent 'enum' values in chimera.Atom, i.e.:
     87
     88{{{
     89#!python
     90>>> chimera.Atom.Dot
     910
     92>>> chimera.Atom.Sphere
     931
     94>>> chimera.Atom.EndCap
     952
     96>>> chimera.Atom.Ball
     973
     98}}}
     99
     100{{{
     101#!python
     102molecules = chimera.openModels.list(modelTypes=[chimera.Molecule])
     103for m in molecules:
     104    for a in m.atoms:
     105        print a.drawMode == chimera.Atom.Sphere
     106
     107}}}
     108
    84109
    85110=== Parameter Access Methods ===