Function Entry: ENTMOD
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: ENTMOD
Name
entmod
Class
Host Function
Syntax
(entmod elist)
Arguments and Values
elist: entity definition association list
Autodesk documents that the entity name to modify is taken from group -1 in elist.
Description
Modifies an entity in the drawing database according to the supplied entity definition list.
Return Values
List or nil.
If successful, Autodesk documents that entmod returns the supplied elist; otherwise it returns nil.
Side Effects
Modifies the drawing database.
Exceptional Situations
Erroneous if the entity definition list is invalid or requests an illegal modification.
Compatibility
Semantically paired with entget.
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.
Source Notes
- [entmod (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/CHS/AutoCAD-LT-AutoLISP-Reference/files/GUID-C7D27797-247E-49B9-937C-0D8C58F4C832.htm)
- [About Modifying an Entity without the Command Function (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/ENU/AutoCAD-MAC-AutoLisp/files/GUID-125DC058-BBAA-4CA9-A203-53F0A27B87D0.htm)
Notes
- Autodesk documents that an entity's type and handle cannot be changed.
- Autodesk documents that certain internal fields, such as the
-2group of aSEQEND, are ignored if modified. - Autodesk documents that viewport entities cannot be modified with
entmod. - Autodesk documents that changing entities inside a block definition affects all inserts of that block.
- Autodesk documents special color behavior in AutoCAD 2004 and later: if true-color group
420conflicts with ACI group62, the true-color value takes precedence.