This is a read-only mirror of pymolwiki.org
Difference between revisions of "Get Type"
Jump to navigation
Jump to search
m (4 revisions) |
(No difference)
|
Latest revision as of 02:00, 28 March 2014
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"