From: Bob H. <ha...@st...> - 2008-06-12 17:03:47
|
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}.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}.atomno >print {atomno=2}.elemno > > > >------------------------------------------------------------------------- >Check out the new SourceForge.net Marketplace. >It's the best place to buy or sell services for >just about anything Open Source. >http://sourceforge.net/services/buy/index.php >_______________________________________________ >Jmol-users mailing list >Jmo...@li... >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 |