Element: graphic_window.reset ( )

Type

numeric func

Description

A function to draw graphic_window in "reset" mode. This means recalculate the display list for the window. This recalculation is usually performed automatically whenever graphic primitives are added or modified, but it is sometimes necessary to do it manually when entity class visibility changes. During the redraw any redraw procedures active for the window will be invoked.

A value of 0 is returned when successful, and a value of 1 is returned on error.

The code of the function cannot be redefined.

Parameters

window.reset(mywin)

The function may be called in one of two ways:

# Assume mywin is the graphic window identifier
window.reset(mywin)

or

mywin.reset()