Daylight v4.9
Release Date: 1 February 2008


dt_setbondorder - specify the bond order of a bond object

Generic Prototype

dt_setbondorder(dt_Handle, dt_Integer) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_setbondorder(dt_Handle bond, dt_Integer value)

FORTRAN Prototype

include ''

logical dt_f_setbondorder(bond, value)

integer*4 bond
integer*4 value


Sets the bonds order to 'value'. Valid values are: DX_BTY_UNKNOWN, DX_BTY_SINGLE, DX_BTY_DOUBLE, and DX_BTY_TRIPLE. May only be used when the molecule is in the modify-on state. Will also affect the bond type, which is set to the value of 'value'.

Return Value

Returns the success (TRUE) or failure (FALSE) of the operation.

Related Topics

dt_addatom(3) dt_addbond(3) dt_bond(3) dt_bondorder(3) dt_bondtype(3) dt_dbo(3) dt_setbondtype(3) dt_setdbo(3)