Makes a new object or entity, gives it a handle and entity name (but does not assign an owner), and then returns the new entity name
(entmakex [elist])
entmakex function can define both graphical and nongraphical entities.
TheArguments
entget function. The elist argument must contain all of the information necessary to define the entity. If any required definition data is omitted, entmakex returns nil and the entity is rejected. If you omit optional definition data (such as the layer), entmakex uses the default value.
A list of entity definition data in a format similar to that returned by theReturn Values
entmakex returns the name of the entity created. If entmakex is unable to create the entity, the function returns nil.
If successful,Examples
_$ (entmakex '((0 . "CIRCLE") (62 . 1) (10 4.0 3.0 0.0) (40 . 1.0)))
<Entity name: 1d45558>