Daylight v4.9 Release Date: 1 February 2008 Namedt_setbondtype - specify the type of a bond objectGeneric Prototypedt_setbondtype(dt_Handle, dt_Integer) => dt_BooleanC Prototype#include "dt_smiles.h"dt_Boolean dt_setbondtype(dt_Handle bond, dt_Integer type) FORTRAN Prototypeinclude 'dt_f_smiles.inc'logical dt_f_setbondtype(bond, type)
integer*4 bond
DescriptionSets the bonds type to 'type'. Values of 'type' are: DX_BTY_UNKNOWN, DX_BTY_SINGLE, DX_BTY_DOUBLE, DX_BTY_TRIPLE, DX_BTY_AROMAT, and DX_BTY_WILD. May only be used when the molecule is in the modify-on state. May also effect the bond order: if the bond type is single, double, or triple, the bond order is also; if the bond type is set to aromatic, the bond order becomes unknown.Return ValueReturns the success (TRUE) or failure (FALSE) of the operation.Related Topicsdt_addbond(3) dt_bond(3) dt_bondorder(3) dt_bondtype(3) dt_dbo(3) dt_setbondorder(3) dt_setdbo(3) |