Get Type: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
'''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. | ||
Line 18: | Line 18: | ||
[[Cmd get_names]] | [[Cmd get_names]] | ||
[[Category:Commands| | [[Category:Commands|Get Type]] |
Latest revision as of 13: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
- "object:molecule"
- "object:map"
- "object:mesh"
- "object:distance"
- "selection"