Difference between revisions of "Get Type"

From PyMOLWiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
===DESCRIPTION===
+
 
 
'''get_type''' returns a string describing the named object or selection or the string "nonexistent" if the name in unknown.
 
'''get_type''' returns a string describing the named object or selection or the string "nonexistent" if the name in unknown.
  

Latest revision as of 14:36, 17 November 2009

get_type returns a string describing the named object or selection or the string "nonexistent" if the name in unknown.

PYMOL API

cmd.get_type(string object-name)

NOTES

Possible return values are

  1. "object:molecule"
  2. "object:map"
  3. "object:mesh"
  4. "object:distance"
  5. "selection"

SEE ALSO

Cmd get_names