Get Type

From PyMOLWiki
Revision as of 21:09, 21 February 2005 by Tree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DESCRIPTION

  "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

"object:molecule" "object:map" "object:mesh" "object:distance" "selection"

SEE ALSO

   Cmd get_names