From: Marko H. <mh...@ca...> - 2020-03-20 17:35:07
|
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <tt>Hello Henrik, <br> <br> your syntax is not correct:<br> select name_for_selection, selected_parts<br> <a class="moz-txt-link-freetext" href="https://pymolwiki.org/index.php/Select">https://pymolwiki.org/index.php/Select</a><br> <br> eg. <br> select my_carbons, elem C & obj <br> will select atoms that are element C AND in obj and calls this selection my_carbons. <br> <br> hth, Marko<br> </tt><br> <div class="moz-cite-prefix">On 20/03/2020 13:40, Henrik Gotfredsen wrote:<br> </div> <blockquote type="cite" cite="mid:CAD...@ma..."> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr">Dear Pymol users <div><br> </div> <div>Would anyone be able to help with the correct syntax used for selecting specific elements within an object?</div> <div><br> </div> <div>For example, I would like to be able to select only carbon or hydrogen. </div> <div><br> </div> <div>select elem c (works but selects all the carbons in my project)</div> <div>select elem c, obj (this selects all atoms within 'obj' as selection 'elem_c')</div> <div><br> </div> <div>Any suggestions are much appreciated :)</div> <div><br> </div> <div>Many thanks!</div> <div>Henrik </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <pre class="moz-quote-pre" wrap="">_______________________________________________ PyMOL-users mailing list Archives: <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/pym...@li...">http://www.mail-archive.com/pym...@li...</a> Unsubscribe: <a class="moz-txt-link-freetext" href="https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe">https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe</a></pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Marko Hyvonen Department of Biochemistry, University of Cambridge <a class="moz-txt-link-abbreviated" href="mailto:mh...@ca...">mh...@ca...</a> +44 (0)1223 766 044 @HyvonenGroup <a class="moz-txt-link-freetext" href="http://hyvonen.bioc.cam.ac.uk">http://hyvonen.bioc.cam.ac.uk</a> </pre> </body> </html> |