[PyMOL] Selection of elements in object

2020-03-20 Thread Henrik Gotfredsen
Dear Pymol users Would anyone be able to help with the correct syntax used for selecting specific elements within an object? For example, I would like to be able to select only carbon or hydrogen. select elem c (works but selects all the carbons in my project) select elem c, obj (this selects al

Re: [PyMOL] Selection of elements in object

2020-03-20 Thread Marko Hyvonen
Hello Henrik, your syntax is not correct: select name_for_selection, selected_parts https://pymolwiki.org/index.php/Select eg. select my_carbons, elem C & obj will select atoms that are element C AND in obj and calls this selecti