this is an open issue: http://sourceforge.net/tracker/?func=detail&aid=2182309&group_id=4546&atid=104546
> Have you tried > > delete all and not obj1 unfortunately this does not work, it will delete obj1. The expected result could be achieved with this workaround: python def delete2(selection): names = cmd.get_names(selection=selection) cmd.delete(' '.join(names)) cmd.extend('delete', delete2) python end Cheers, Thomas > Hi all! I have a question about wildcards usage in pymol. > For example if I want to delete all except obj1 I write: > delete not obj1 > but this expression does not works as expected... > > Is there a way in pymol to delete all except [something]? > In selections these experssions work. But in object names they don't. > > > -- > > Andrew Gontchar -- Thomas Holder MPI for Developmental Biology ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ 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