Changes between Version 7 and Version 8 of ChimeraAnimationState
- Timestamp:
- Jan 4, 2011, 3:37:41 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ChimeraAnimationState
v7 v8 82 82 }}} 83 83 84 === Atom Representations === 85 86 Each 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 91 0 92 >>> chimera.Atom.Sphere 93 1 94 >>> chimera.Atom.EndCap 95 2 96 >>> chimera.Atom.Ball 97 3 98 }}} 99 100 {{{ 101 #!python 102 molecules = chimera.openModels.list(modelTypes=[chimera.Molecule]) 103 for m in molecules: 104 for a in m.atoms: 105 print a.drawMode == chimera.Atom.Sphere 106 107 }}} 108 84 109 85 110 === Parameter Access Methods ===
![[Chimera Issue Tracking System]](/trac/chimera/chrome/site/chimera_logo.png)