Delete: Difference between revisions
Jump to navigation
Jump to search
(copied the format of [create] to create a delete. delete if you like.) |
No edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''delete''' removes objects or selections matching an expression ''name'', which can include wildcards. | |||
'''delete''' removes an | |||
===USAGE=== | ===USAGE=== | ||
<source lang="python"> | <source lang="python"> | ||
delete name | |||
delete all # deletes all objects</source> | |||
</source> | |||
name = name of object or selection | name = name of object or selection | ||
===PYMOL API=== | ===PYMOL API=== | ||
<source lang="python"> | <source lang="python"> | ||
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=== | ||
[[ | [[Remove|Remove]] | ||
[[Category:Commands| | [[Category:Commands|Delete]] | ||
[[Category:Input Output Module|Delete]] |
Latest revision as of 11:26, 8 August 2011
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.