Get Names: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
===DESCRIPTION=== | ===DESCRIPTION=== | ||
'''get_names''' returns a list of object and/or selection names. | |||
===PYMOL API=== | ===PYMOL API=== | ||
<source lang="python"> | |||
cmd.get_names( [string: "objects"|"selections"|"all"] ) | |||
</source> | |||
===NOTES=== | ===NOTES=== | ||
The default behavior is to return only object names. | |||
===SEE ALSO=== | ===SEE ALSO=== | ||
[[Cmd get_type]], [[Cmd count_atoms]], [[Cmd count_states]] | |||
[[Category:Commands|get_names]] | [[Category:Commands|get_names]] |
Revision as of 14:25, 3 January 2006
DESCRIPTION
get_names returns a list of object and/or selection names.
PYMOL API
cmd.get_names( [string: "objects"|"selections"|"all"] )
NOTES
The default behavior is to return only object names.