Hi Raul, I don't think the bond guessing routine is exposed to the python API. This would actually be very useful, so I take this as a feature request. Meanwhile, I guess you need some workaround like dumping to PDB format and loading as PDB again. Have a look at cmd.get_pdbstr and cmd.read_pdbstr.
Cheers, Thomas Raúl Mera Adasme wrote, On 09/17/13 19:15: > Hi all, > > I want to load a chempy model into PyMOL. Unfortunately, the model has > all the coordinate information, but not bonds defined. > I know PyMOL can guess the bonds from the distances, but it does not > do it if I just use cmd.load_model, and I could not find a way of > doing it. > > Does anyone know how can I achieve this? > > Thanks! > > Raul -- Thomas Holder PyMOL Developer Schrödinger Contractor ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ 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