Difference between revisions of "Get Names"

From PyMOLWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
    "get_names" returns a list of object and/or selection names.
+
'''get_names''' returns a list of object and/or selection names.
+
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.get_names( [string: "objects"|"selections"|"all"] )
+
cmd.get_names( [string: "objects"|"selections"|"all"] )
</source>
+
</source>
+
 
 
===NOTES===
 
===NOTES===
    The default behavior is to return only object names.
+
The default behavior is to return only object names.
 
   
 
   
 
===SEE ALSO===
 
===SEE ALSO===
    [[Cmd get_type]], [[Cmd count_atoms]], [[Cmd count_states]]
+
[[Cmd get_type]], [[Cmd count_atoms]], [[Cmd count_states]]
+
 
 
[[Category:Commands|get_names]]
 
[[Category:Commands|get_names]]

Revision as of 15: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.

SEE ALSO

Cmd get_type, Cmd count_atoms, Cmd count_states