I’ve issued the following commands for my models select <help:user/commands/select.html> #2/A:120,119,41,36,37,34,49,117 72 atoms, 68 bonds, 8 residues, 1 model selected setattr <help:user/commands/setattr.html> m ballScale 0.2 create true Assigning ballScale attribute to 2 items No changes were observed on the ball scale. Is it likely that I should be trying something different to change the ball diameter? Thank you
Hi George, Well, the atoms have to be shown in the "ball" style for the ball scale to make any difference. <https://rbvi.ucsf.edu/chimerax/docs/user/commands/style.html> So first change to ball style, either everything or just your selection: select #2/A:120,119,41,36,37,34,49,117 show sel style sel ball You don't need to create a ballScale attribute, it already exists. The better way to change it is with command "size": <https://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html> size sel ballScale 0.2 I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jan 15, 2026, at 10:29 AM, George Tzotzos via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
I’ve issued the following commands for my models select #2/A:120,119,41,36,37,34,49,117 72 atoms, 68 bonds, 8 residues, 1 model selected setattr m ballScale 0.2 create true Assigning ballScale attribute to 2 items
No changes were observed on the ball scale. Is it likely that I should be trying something different to change the ball diameter?
Thank you
Thank you Elaine. Prompt and extremely helpful as always
On 15 Jan 2026, at 18:40, Elaine Meng via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi George, Well, the atoms have to be shown in the "ball" style for the ball scale to make any difference. <https://rbvi.ucsf.edu/chimerax/docs/user/commands/style.html>
So first change to ball style, either everything or just your selection:
select #2/A:120,119,41,36,37,34,49,117 show sel style sel ball
You don't need to create a ballScale attribute, it already exists. The better way to change it is with command "size": <https://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html>
size sel ballScale 0.2
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jan 15, 2026, at 10:29 AM, George Tzotzos via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
I’ve issued the following commands for my models select #2/A:120,119,41,36,37,34,49,117 72 atoms, 68 bonds, 8 residues, 1 model selected setattr m ballScale 0.2 create true Assigning ballScale attribute to 2 items
No changes were observed on the ball scale. Is it likely that I should be trying something different to change the ball diameter?
Thank you
_______________________________________________ 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/
participants (2)
-
Elaine Meng -
George Tzotzos