I found the solution. Next time I should display more tenacity I guess.

label #1 atoms text {0.element}{0.serial_number}

Does exactly what I want.
__________________

Dr. Michael Patzschke
Institute of Resource Ecology
Chemistry of the f-elements
Theoretical Chemistry 

Helmholtz-Zentrum Dresden - Rossendorf e. V.
Telefon: +49 (0351) 260 2989
E-Mail:    m.patzschke@hzdr.de
Web:       http://www.hzdr.de
Addresse: Bautzner Landstrasse 400 | 01328 Dresden

Vorstand: Prof.Dr. Dr. Sebastian M. Schmidt, Dr. Diana Stiller
Vereinsregister: VR 1693 beim Amtsgericht Dresden

On 8. Jul 2025, at 13:20, Michael Patzschke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hello,

I have a seemingly trivial problem. I have a small molecule and I want to display the serial number of all atoms. Under “Action->Labels->Atoms->Name” I can get atom names, but these are not what I want. I want the atoms numbered as they appear in the .xyz file. Is this possible?

Kind regards,
Michael
_______________________________________________
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/