Function Entry: ENTNEXT

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

Function Entry: ENTNEXT

Name

entnext

Class

Host Function

Syntax

(entnext [ename])

Arguments and Values

  • ename: optional entity name

Description

Returns the next entity following the supplied entity, or the first non-deleted entity if no argument is given.

Return Values

ENAME or nil.

Side Effects

None.

Compatibility

Important for object traversal and subentity walking.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Notes

  • Autodesk documents that entnext returns both main entities and subentities.
  • Autodesk documents that ssget returns only main entities; entnext is used to walk subentity structure.