SBStructuralGroup#

See also

SAMSON SDK: SBMStructuralModelNodeGroup

class samson.SBStructuralGroup(*args, **kwargs)#

Bases: SBStructuralNode

This class describes a structural group.

Overloaded function.

  1. __init__(self: samson.SBStructuralGroup) -> None

Constructs a structural group

  1. __init__(self: samson.SBStructuralGroup, arg0: str) -> None

Constructs a structural group

clearComment(self: samson.SBStructuralGroup) None#

Clears the group’s comment

clearStatusBit(self: samson.SBStructuralGroup) None#

Clears the group’s status bit

clearStructuralID(self: samson.SBStructuralGroup) None#

Clears the structural group’s id

isMonatomicIon(self: samson.SBStructuralGroup) bool#

Returns True if the structural group is a monatomic ion, i.e. if it contains a single atom of a particular type common to monatomic ions

isWater(self: samson.SBStructuralGroup) bool#

Returns True if the structural group is a water molecule

property comment#

The group’s comment

property hasComment#

Returns True when the group’s comment is set

property hasStatusBit#

Returns True when the group’s status bit is set

property hasStructuralID#

Returns True when the structural group’s id is set

property statusBit#

The group’s status bit

property structuralID#

The structural group’s id