Re: [Jmol-users] reading atom visibility

2008-06-12 Thread Angel Herráez
That does the trick. Now I can display/hide things automatically according to the visibility of other things. Thanks, Bob - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just

Re: [Jmol-users] reading atom visibility

2008-06-12 Thread Bob Hanson
You can simply use: print {displayed and atomno=2}.size print {hidden and atomno=2}.size etc. The .size gets you a number. Angel Herraez wrote: >Hi > >Can one read if an atom is currently displayed or hidden? > >I was thinking in something like > >print {atomno=2}.visible >print {atomno=2}.di

[Jmol-users] reading atom visibility

2008-06-12 Thread Angel Herraez
Hi Can one read if an atom is currently displayed or hidden? I was thinking in something like print {atomno=2}.visible print {atomno=2}.displayed but they don't work. These do what I expected: print {atomno=2}.x print {atomno=2}.y print {atomno=2}.z print {atomno=2}.color print {atomno=2}.atomn