Hi Nathan,
I'm not sure why you're resorting to the Python layer to do this.  AFAIK, the "label" command's text option can label atoms with arbitrary text, including  values from that atom's attributes.  Perhaps you do need to provide more information about why that doesn't work for you.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

On Aug 8, 2021, at 7:43 PM, Nathan Wood via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

2. I have encountered another issue with regards to using the API call label(session,...) as imported through 'from chimerax.label import label3d'. I intend to write a script that can label values to specific atoms and I am not sure how to move forward with the issues mentioned below. 

- When I attempt to run `label(session,...)`I would return the error "NameError: name 'label' is not defined"

- Furthermore, when I attempt to instead run 'label3d(session,...)` I return an error that " the module is not callable"


Any assistance would be appreciated and more information can be provided.