probably a question for the developers, but may not hurt to ask publicly: Is there a functionality in Pymol to list the residues in a given selection? I am looking for the equivalent to the get_chains() function. I have scripted something
up, but the code is not 100% clean and not flexible enough. For large molecules the performance is not great either.