On 31 Jul 2026, at 14:30, Steven Brawer via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
I have three models of the same protein. How can I select C3 carbons in a given model? When I do
sel #3 C3
I get an error "Expected a Keyword". Therefore I have to select C3 in ALL models
sel C3
and then do
~sel #1,2
for example, which deselects in models 1, 2.
If I do "sel C3" and ctrl-click "in" model 1(only model 1 is visible), say, it deselects in all models.
Is there a way to just select all C3 in model 3 in one single command? Is there a "keyword" for atom type (analogous to @ for atom names)?
This would be very useful, for example, in command (cxc) files, where I wouldn't have to delineate all the models.
(I suppose I could do ~sel #1,2,4,5,6,7,8 in a command file. This is ugly.)
Thanks
Steve
_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.cgl.ucsf.edu%2Fmailman%2Farchives%2Flist%2Fchimerax-users%40cgl.ucsf.edu%2F&data=05%7C02%7Cdng26%40mrc-mbu.cam.ac.uk%7C8078c89ddf6547b6f96808deef0ba8c8%7C49a50445bdfa4b79ade3547b4f3986e9%7C1%7C0%7C639211030533749648%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=7TpZBfacM%2B%2BG5OkGWPpWQ3109%2FIfNAic5pdtIs5u7mw%3D&reserved=0