Jmol 10.x.40 includes select within(SITE,atom_expression) select within(ELEMENT,atom_expression) select site=n select element=n # same as elemno=n; for completeness
set picking SITE set picking ELEMENT Note that if multiple frames are present or the model display is restricted, only atoms with the same SITE or ELEMENT and that are also VISIBLE are selected by mouse picking. This diverges a bit from the action of "set picking GROUP|MODEL|MOLECULE", where visibility is not an issue, but it seems to me to be reasonable and intuitive nonetheless, as Alan has noted. see http://www.stolaf.edu/people/hansonr/jmol/test/proto/new.htm Alan Hewat wrote: >[EMAIL PROTECTED] said: > > >>Alan Hewat wrote: >> >> >>>What would be great would be to have additional picking commands: "set >>> >>> >picking ELEMENT" (select all atoms of that element) > > > >>easy. >> >> > >That would already be very helpful. I would then click on any Aluminum >atom for example and so select all (visible) aluminum atoms. > > > >>>"set picking SITE" (select all symmetry related atoms for >>>that particular site) >>> >>> > > > >>hmm. That might be a challenge. How exactly do you define "site"? >> >> > >With "set picking SITE" I would like to click on a particular aluminum >atom eg Al2 as listed in the CIF file, and so select all (visible) Al2 >atoms but not Al1 or Al3. > > > >>Are you referring to the selection halo that works with "set display >> >> >selected"? > >No. I mean those atoms that are visible after a restrict command like: >load \"y12367.cif\" {3 3 3};restrict cell={2 2 2}; > >I don't want atoms from the invisible cells, that are only there to allow >construction of complete octahedra. > >Alan. >_____________________________________________________________ >Dr Alan Hewat, ILL Grenoble, FRANCE <[EMAIL PROTECTED]>fax+33.476.20.76.48 >+33.476.20.72.13 (.26 Mme Guillermet) http://www.ill.fr/dif/AlanHewat.htm >_____________________________________________________________ > > > > >_____________________________________________________________ >Dr Alan Hewat, ILL Grenoble, FRANCE <[EMAIL PROTECTED]>fax+33.476.20.76.48 >+33.476.20.72.13 (.26 Mme Guillermet) http://www.ill.fr/dif/AlanHewat.htm >_____________________________________________________________ > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

