Function Entry: ENTUPD

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

Function Entry: ENTUPD

Name

entupd

Class

Function

Syntax

(entupd ename)

Arguments and Values

  • ename: an entity name.

Description

Updates the screen image of ename. Most useful after editing the vertices of a polyline or the attributes of a block with entmod, since modifying a sub-entity does not automatically refresh the parent. May be called on any sub-entity of a complex entity, not only on the head; AutoCAD regenerates the whole complex entity. For nested-block contexts, some sub-entities may not regenerate; use the REGEN command for full coverage in those cases.

Return Values

The entity name on success; nil if no update occurred.

Side Effects

Forces a screen-display refresh for the affected entity.

Examples

(setq e1 (entnext))
(setq e2 (entnext e1))
(setq ed (entget e2))
(setq ed (subst '(10 1.0 2.0) (assoc 10 ed) ed))
(entmod ed)
(entupd e1)

Availability

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