This is a read-only mirror of pymolwiki.org

Delete

From PyMOL Wiki
Revision as of 02:15, 28 March 2014 by Pyadmin (talk | contribs) (10 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

delete removes objects or selections matching an expression name, which can include wildcards.

USAGE

delete name  
delete all   # deletes all objects

name = name of object or selection

PYMOL API

cmd.delete(string name = object-or-selection-name )

Note that special care needs to be taken to ensure that the object or selection name does not contain any quotes when passed as an argument.

SEE ALSO

Remove