entmakex
(entmakex list)
The entmakex function creates a new entity (graphical or non-graphical) with a data list.
Argument
list is a list of data containing all of the information necessary to define the entity.
Return Value
The return value if successful is the new entity name. If unable to create the entity, the function returns nil.
: (entmakex '((0 . "LINE")(10 0.0 0.0 0.0)(11 10.0 10.0 0.0)))
<EName: 0833ac40>
In the example above, group code 10 specifies the start point, and group code 11 the end point of a Line entity.