Thank you Elaine, it works perfectly.
Vincent

Le 23/06/2026 à 16:42, Elaine Meng via ChimeraX-users a écrit :
Hi Vincent,
The atomspec in your command is slightly wrong -- probably you meant to intersect #2-10 with strand, for example:

car style #2-10 & strand xsection rect width 0.1

You could also use parentheses around the atomspec in the command if that makes it clearer, e.g.

car style (#2-10 & strand) xsection rect width 0.1

<https://rbvi.ucsf.edu/chimerax/docs/user/commands/cartoon.html#style>
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#combinations>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Resource for Biocomputing, Visualization, and Informatics
Department of Pharmaceutical Chemistry
University of California, San Francisco


On Jun 23, 2026, at 1:34 AM, Vincent CHAPTAL via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hi, 

I want to modify the width of beta strands, so I use the command: car style strand xsection rect width 1
and it works very well. 

Now I want to modify only certain strands, so I use: 

car style strand xsection rect width 1
car style #2-10 strand xsection rect width 0.1 

for the later command, I get the error "expected a keyword". But, when I use the same type of command for helices it works well: 
cartoon style #2-10 width 0.1 thick 0.1

Is there something I'm doing wrong in the script or it is not possible for strands? 

Thank you for your help. 
Vincent

-- 
Vincent Chaptal, PhD
CNRS research director
Team leader Drug Resistance and Membrane Proteins Lab

MMSB -UMR5086
7 passage du Vercors 69007 LYON
FRANCE
+33 4 37 65 29 01
https://mmsb.cnrs.fr/en/team/drug-resistance-and-membrane-proteins-drmp/

_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/


_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/





--

Vincent Chaptal, PhD

CNRS research director

Team leader Drug Resistance and Membrane Proteins Lab


MMSB -UMR5086

7 passage du Vercors 

69007 LYON

FRANCE

+33 4 37 65 29 01

https://mmsb.cnrs.fr/en/team/drug-resistance-and-membrane-proteins-drmp/