redraw

(redraw [ename [mode])

The redraw function redraws a specified drawing entity or refreshes the entire current Viewport.

If the function is applied without arguments, a Redraw (Refresh) is performed on the entire current Viewport.

Arguments

ename specifies the entity name of the entity to redraw.

mode specifies a Redraw mode. If ename contains a valid entity name, the drawing entity is redisplayed in one of the modes specified by the mode argument as follows:

Mode Action executed
1 Redraws entity
2 Entity is set to invisible
3 Entity is highlighted
4 Removes highlighting of the entity.
Return Value

The function returns nil.

Examples

: (redraw)

: (redraw en)

: (redraw (entlast) 3)

Related Functions

entget, entlast