Labeling Commands

Labeling Commands

Add and remove atom labels.

clearlabels

Syntax:

void clearlabels(); 

Remove all atom labels in the current model.

For example:

clearlabels();

label

Syntax:

void label(type); 
string  type;

Adds the specified label to each atom in the current selection. Valid types are listed in Label Types.

For example:

label("element");

adds element labels to the current atom selection.

removelabel

Syntax:

void removelabel(type); 
string  type;

Remove the specified label (if it exists) from each atom in the current selection.

For example:

removelabel("equiv");

removes the forcefield equivalent type label from each atom in the current selection.