std-entmake-xxx | ![]() |
(std-entmake-layer <elist>)
(std-entmake-line <elist>)
(std-entmake-circle <elst)
(std-entmake-point <elist>)
It defines an easy to use ENTMAKE framework with defaults and simplifies the creation of textrows and complex entities. It can be basis for COMMAND independent fast creation functions.
It uses a template function for every entity type which knows useful default values and all required entity groups to succesfully create entities with ENTMAKE.
It also assures that all groups are passed to entmake in the required order. This makes ENTMAKE fairly portable, automatically adding or removing required groups and rearranging a wrong order of groups.
((0 . "LAYER")(70 . 0)))
required: group 2: layername
Consider also STD-LAYER-MAKE
as an higher-level and easier to use interface.
Creates a line entity with the following defaults and required entity groups:
default: ((0 . "LINE"))
required: group 10: startpoint and 11: endpoint
Creates a circle entity with the following defaults and required entity groups:
default: ((0 . "CIRCLE")(10 . (0 0 0))(40 . 1))
required: groups 10: midpoint and 40: radius
Creates a point entity with the following defaults and required entity groups:
default: ((0 . "POINT")(10 . (0 0 0)))
required: group 10- point
elst: a partial entitylist as returned by entget. Just the required groups must be present.
The return value of the actual (last) ENTMAKE
call.
Creates AutoCAD entities.
(std-require 'ENTMAKE)
#- SMALL
Defined in ENTMAKE