This is the whole bunch of entity accessors, modifiers and predicates, geometry code (STDPOINT) and entmake (ENTMAKE):
Entity Properties, Entity Accessors
see the get problem
(STD-GETVAL grp ele) ; general chached entity access by number
(STD-ENTITY ele) ; force ename
(STD-ENTGET ele) ; force entget list (cached)
(STD-ENTMOD elist) ; update cache also
(STD-ENTDEL ele) ; update cache also
(STD-MAIN-ENTITY ele) ; main entity of sub or identity
(STD-SUBENTS ele) ; list of all subelement enames
(STD-ENTNEXT-MAIN ele) ; next main entity
(STD-NENTSEL-PARENT ele) ; ENAME of nentsel'ed parent block
(STD-ENT-LASTSUB-P ele) ; last element of a complex entity?
(STD-ENT-SUB-P ele) ; sub-element of a complex entity?
(STD-GETTYPE ele) ; group 0
(STD-GETEXTTYPE ele) ; extended type string
(STD-GETDXF1 ele) ; group 1
(STD-GETNAME ele) ; group 2
(STD-GETLAY ele) ; group 8
(STD-GETHANDLE ele) ; group 5
(STD-GETCOLOR ele) ; as number
(STD-GETLTYPE ele) ;
(STD-GETFLAG ele) ; group 70
(STD-GETPT ele) ; group 10
(STD-GETENDPT ele) ;
(STD-ARC-PT ele) ; arc startpoint
(STD-ARC-ENDPT ele) ; arc endpoint
(STD-GETTEXTVAL ele) ; visible textvalue
(STD-DIMSTR ele) ; calculated dimension text
(STD-GETPTS ele) ; WCS pointlist from entity
(STD-SET-GETPTS-VERTEXMASK mask) ; std-getpts vertex filter
(STD-PLINE-SEGS pline) ; (lw-)pline ename => segmentlist
(STD-ENTCHG ele types grp val) ;
(STD-CHGLAY ele lay) ;
(STD-PUTTEXTVAL ele str) ; to dim, text, attrib
(STD-FIX-LWPOLY ele) ; fixes z bug
(STD-ENAMEP expr) ; of type ENAME?
(STD-ENAME-EXIST-P ele) ; not deleted?
(STD-PICKSETP expr) ; selection set?
(STD-FLAGSETP val ele) ; val in flag 70?
(STD-ENTITY-TYPE-P ele type) ; correct entity type?
(STD-ENTITY-EXTTYPE-P ele type) ; extended type info
(STD-ENTITY-SUBTYPE-P ele type) ; for (nentsel)
(STD-NENTSEL-BLOCK-P pick) ;
(STD-HATCH-P ele) ;
(STD-SSLIST ss) ; pickset -> list of entities
(STD-SSMAP func ss) ; apply a function to each element
(STD-SSVAL ss grp) ; common value in pickset
(STD-ATTELE block name) ; => attribute entget list
(STD-ATTCHG block name val) ; change attribute value
Simple entmake framework with useful defaults, esp. for texts and polygons. More objects to be added eventually and on request.
(STD-ENTMAKE-LAYER elst) ;
(STD-ENTMAKE-STYLE name font height more)
(STD-ENTMAKE-BLOCK elst) ;
(STD-ENTMAKE-ATTDEF elst) ;
(STD-ENTMAKE-INSERT elst) ;
(STD-ENTMAKE-ATTRIB elst) ;
(STD-ENTMAKE-TEXT elst) ;
(STD-ENTMAKE-MTEXT elst) ;
(STD-ENTMAKE-PLINE elst pts) ; simple open or closed polygon
(STD-ENTMAKE-POLYLINE elst segs) ; general linear polyline entity from segments
(STD-ENTMAKE-LWPOLYLINE elst segs) ; similar to STD-ENTMAKE-POLYLINE
(STD-ENTMAKE-PFACE elst pts faces) ;
(STD-ENTMAKE-CIRCLE elst) ;
(STD-ENTMAKE-POINT elst) ;
(STD-ENTMAKE-LINE elst) ;
(STD-ENTMAKE-LEADER elst) ;
(STD-ENTMAKE-SEQEND layer) ;
in beta (experimental):
(STD-ENTMAKE-ARC elst) ;
(STD-ENTMAKE-SOLID elst) ;
(STD-ENTMAKE-ELLIPSE elst) ;
(STD-ENTMAKE-SPLINE elst pts) ;
(STD-ENTMAKE-MLINE elst segs) ;
(STD-ENTMAKE-MLINESTYLE elst) ;
(STD-ENTMAKE-GROUP elst) ;
(STD-ENTMAKE-HATCH elst boundaries pathflags) ;
The STD-ENTMAKE-xxx functions need most likely be loaded seperately,
by (std-require 'ENTMAKE)
.