Hi Vitaly,

Try

for i in cmd.get_object_list(): cmd.get_model(i).get_coord_list() or cmd.delete(i)

Ciao!

Tsjerk



On Tue, Dec 11, 2012 at 9:31 AM, V.V. <vvostri@gmail.com> wrote:
Hello,
Is there a quick way to delete the objects that do not contain any atoms?

Thank you in advance,
Vitaly

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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



--
Tsjerk A. Wassenaar, Ph.D.

post-doctoral researcher
Biocomputing Group
Department of Biological Sciences
2500 University Drive NW
Calgary, AB T2N 1N4
Canada