void structure.SetSecondaryStructureSelected(string secondaryStructure)
Set the selected segments secondary structure. Valid values are e=sheet, h=helix, l=loop, m=molecule.
V1 Function Name

structure.SetSecondaryStructureSelected sets the secondary structure for the currently selected segments of the protein.

The following secondary structure codes are valid:

code type
H helix
E sheet
L loop
A auto

The "A" option applies the Auto Structures tool, which determines the presence of sheets and helixes based on patterns of hydrogen bonds.

The structure code "M" used for ligands (molecules) is accepted, but ignored. Any other code causes an error.

See also structure.SetSecondaryStructure.

Community content is available under CC-BY-SA unless otherwise noted.