From: Ajasja Ljubetič (
Date: Wed Jun 02 2010 - 11:53:00 CDT

Have you looked at
<>and the
"mol repname"
"mol repindex"
But I agree that it would be nice if one could name (with a label)
selections in the graphical representations window.

Best regards,

On Tue, Jun 1, 2010 at 18:23, Bob Johnson <> wrote:

> Is there a way to label or name specific representations and refer to
> them from a script? As far as I can tell each representation has an ID
> given by the order in which it was created. This makes it awkward to
> modify representations if the number of representations changes. For
> example, if you have 3 representations with IDs 0, 1, 2 and you delete
> the very first one, the IDs will be relabeled to 0 and 1. If you
> wanted to deleted all the representations but keep the 2nd one say,
> you would not be able to use the command:
> mol delrep 0 top
> mol delrep 2 top
> Is there any advice on how to work with these changing representation
> IDs? Or is there some way that static labels can be given to them?
> Thanks,
> Bob
> --
> Bob Johnson, PhD
> Institute for Computational Molecular Science
> Temple University
> 1900 North 12th Street
> Philadelphia, PA 19122