Hi Sajeewa, > I want to place copies of CO2 along a tunnel created by PyMol CAVER. Is there > any way I can get the xyz coordinates of the pseudo-atoms that comprise the > tunnel, when I select the pseudo-atoms I want?
Assuming the pseudoatoms are real PyMOL "pseudoatoms" (http://www.pymolwiki.org/index.php/Pseudoatom) then you have two choices: (1) One at a time # print the atomic coords of the pseudoatom 'caver1' print cmd.get_atom_coords("caver1") (2) Many at once # get the model for the object/selection 'caver1' m = cmd.get_model("caver1") # print the list of coordinates for all atoms/pseudoatoms # in the object/selection 'caver1' print map(lambda a: a.coord, m.atom) Cheers, -- Jason -- Jason Vertrees, PhD Director of Core Modeling Product Management Schrödinger, Inc. (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net