|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChemPack CStruct Class TCTab Properties AtConnTo|
|See also: MakeConnection, CheckConnect, EnterConn, AtTypConn, CTElem|
The property AtConnTo provides a low level access to the connection entries of an atom record. The user should note that there are more convenient methods to handle the creation and deletion of bonds (i.e. MakeConnection and CheckConnect).
When reading the property AtConnTo the returned value specifies the atom to which atom AtIx is connected via the bond with the index ConnIx. A zero value is returned, if no bond entry exists at the specified position.
When writing to the property AtConnTo, a bond between atoms AtIx and the atom specified by the entered value is created. The parameter ConnIx specifies the place in the connection table where this bond is stored. If AtConnTo receives a zero value, or ConnIx points to an non-empty element, the corresponding bond is destroyed.