Dear Csongor,
as far as I know it is not well documented how you can access the python
objects and its methods or data structures created by the PyMOL API. For
many tasks one usually finds some information, often PyMOL or python
scripts. Concerning your example of the hydrogen bonds determine
Dear Csongor,
cmd select creates a named selection. if you do not use a name, the
default name "sele" will be used. You see this if you use the gui
version. Plus: https://pymol.org/dokuwiki/doku.php?id=api:cmd:select
cmd.select("resi 150-160")
cmd.color("red", "sele")
cmd.select("myselection