Daylight v4.9
Release Date: 1 February 2008


dt_setvisible - specify the visible attribute of an atom in a depiction

Generic Prototype

dt_setvisible(dt_Handle, dt_Handle, dt_Boolean) => dt_Boolean

C Prototype

#include "dt_depict.h"

dt_Boolean dt_setvisible(dt_Handle depiction, dt_Handle atom, dt_Boolean value)

FORTRAN Prototype

include ''

logical dt_f_setvisible(depiction, atom, value)

integer*4 depiction
integer*4 atom
logical value


Sets the value of the visible attribute of the atom in the depiction. A value of TRUE means that the atom is visible, and FALSE means that the atom is invisible. The default value is TRUE.

This routine can be used in conjuction with dt_calcxy() or dt_setbondstyles(3) to control the layout of a depiction.

Return Value

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

Related Topics

dt_calcxy(3) dt_setbondstyles(3) dt_visible(3)