This is a read-only mirror of pymolwiki.org

Difference between revisions of "Delete"

From PyMOL Wiki
Jump to navigation Jump to search
m
m (10 revisions)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
'''delete''' removes objects or selections matching an expression ''name'', which can include wildcards.
'''delete''' removes an object or a selection.  
 
  
 
===USAGE===
 
===USAGE===
Line 13: Line 12:
 
cmd.delete(string name = object-or-selection-name )
 
cmd.delete(string name = object-or-selection-name )
 
</source>
 
</source>
 +
 +
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===
 
===SEE ALSO===
[[Cmd Remove|Remove]]
+
[[Remove|Remove]]
  
 
[[Category:Commands|Delete]]
 
[[Category:Commands|Delete]]
 
[[Category:Input Output Module|Delete]]
 
[[Category:Input Output Module|Delete]]

Latest revision as of 02:15, 28 March 2014

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