Hello, Robert > source code questions should go to jmol-developers, please. Ok, just thought that it's common question.
> viewer.getModelSet().getAtomModelIndex(i) // actually in > modelSet.AtomCollection.java Tried this too. Let describe commmon picture: I load "TCBEWREA.mol" that have 49 atoms, then "aspirin.mol" with 21 atoms. Both mol files from Jmol site. Setting appendNew false; Loading "TCBEWREA.mol", append load (through script) "aspirin.mol". So, getAtomModelIndex(1) and getAtomModelIndex(68) gives "0" modelIndex. Via debug same thing: all atoms have "0" modelIndex. But there're 2 groups, that include index distanse of loaded models... Can use only them? There is something with "set appendNew false;". Model index only for separate frames? ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
