
Dear All I would like to extract just the model name (as a variable) from a model, to write into an output file with other data. However I am not able to find in the help how to do it - I can output all model information ("Model info") to the log but not to see just model name. Is that possible? Thanks in advance Best regards Sasha

Hi Sasha, maybe you can use info models attr name ... or for a specific model or models ... info models #1 attr name info models #2,3,5 attr name See <https://rbvi.ucsf.edu/chimerax/docs/user/commands/info.html#models> It lists some other stuff on the line like the model id # but there is only one line of info per model with the name at the end. 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 Jul 9, 2025, at 8:02 AM, Alexandra Zahradnikova via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Dear All I would like to extract just the model name (as a variable) from a model, to write into an output file with other data. However I am not able to find in the help how to do it - I can output all model information ("Model info") to the log but not to see just model name. Is that possible? Thanks in advance Best regards Sasha
participants (2)
-
Alexandra Zahradnikova
-
Elaine Meng