Function Entry: ENTMAKEX

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

Function Entry: ENTMAKEX

Name

entmakex

Class

Function

Syntax

(entmakex [elist])

Arguments and Values

  • elist (optional): an entity-definition list in the format returned by entget. Required group codes must be present; optional codes default if omitted.

Description

Creates a new entity, gives it a handle and entity name, and returns the entity name. Unlike entmake, the new entity has no owner; it must be assigned ownership before being saved (e.g. by adding it to a dictionary via dictadd). Supports both graphical and nongraphical entities.

Return Values

The new entity name on success; nil if the entity cannot be created.

Side Effects

Allocates a new entity in the current drawing.

Examples

  • (entmakex '((0 . "CIRCLE") (62 . 1) (10 4.0 3.0 0.0) (40 . 1.0))) returns <Entity name: 1d45558>.

Availability

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

Source Notes