This is a read-only mirror of pymolwiki.org
Difference between revisions of "Delete"
Jump to navigation
Jump to search
(copied the format of [create] to create a delete. delete if you like.) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
===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"> | ||
Line 18: | Line 17: | ||
[[Cmd remove|remove]] | [[Cmd remove|remove]] | ||
− | [[Category:Commands| | + | [[Category:Commands|Delete]] |
Revision as of 13:44, 20 June 2009
DESCRIPTION
delete removes an object or a selection.
USAGE
delete name
delete all # deletes all objects
name = name of object or selection
PYMOL API
cmd.delete(string name = object-or-selection-name )