> hi, > > is it possible in Jmol 10 to find the number of atoms currently visible in > the display? I mean, besides counting them myself, of course. :-) > > for example: > > > restrict (protein and (nitrogen and within(3.2,hem))) > # count visible > > > I can see a theoretical solution in javascript, but it involves tracking > the state of every atom - yuck. or maybe my brain just hasn't woken up > yet.
I think that you need to define exactly what you mean by 'visible' Q: Do you mean 'has a non-zero spacefill' ? select *; spacefill off; wireframe on Q: How many of these atoms are visible? Miguel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

