Function Entry: REDRAW

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: REDRAW

Name

redraw

Class

Function

Syntax

(redraw [ename [mode]])

Arguments and Values

  • ename (optional): an entity name; the entity to redraw.
  • mode (optional): an integer:

    • 1: show entity
    • 2: hide entity
    • 3: highlight entity
    • 4: unhighlight entity

    Negative values affect only the header entity of a complex object (polyline, attributed block); positive values affect all subentities.

Description

Redraws the current viewport, or a specified entity in the current viewport. With no arguments, refreshes the entire viewport.

Return Values

Always returns nil.

Side Effects

Refreshes the screen image of the affected viewport region.

Examples

Not documented on the vendor page.

Availability

  • AutoCAD 2026: documented.
  • BricsCAD V26: presumed compatible.
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.