[Jmol-developers] How to get the model number

2010-12-08 Thread Dr. Christoph Gille
When refering to a specific molecul in Jmol I need the model number. I mean the number which I use in selections like ... and 3.1 where 3 is the model number. currently I identify the model index by using viewer.getModelFileName(int) and adding one. This works as long as no model has been

Re: [Jmol-developers] How to get the model number

2010-12-08 Thread Robert Hanson
public String getModelNumberDotted(int modelIndex) On Wed, Dec 8, 2010 at 10:19 AM, Dr. Christoph Gille christoph.gi...@charite.de wrote: When refering to a specific molecul in Jmol I need the model number. I mean the number which I use in selections like ... and 3.1 where 3 is the model