GP.
Guest
to insert a block you must first create, are the normal procedures of the -block and -inser commands
for block creationif you have the object name, for example <nome 7ffffb2b830="" entità:=""></nome>, when you create the block you must provide the name of all objects
(Sectq) a (car (entsel))
(setq b (car (entsel)))
(command "_block" "pippo" "0,0" a b "
if you have a selection group, for example <selection ca0="" set:=""> </selection>, just provide the group name
(Sectq) c (sadd)
(setq a (car)
(setq b (car (entsel)))
(setq c (added to c)
(setq c (ssadd b c))
(command "_block" "topolino" "0,0" c "")
to insert the block(command "_insert" "0,0" "1" "1" "0")
for block creationif you have the object name, for example <nome 7ffffb2b830="" entità:=""></nome>, when you create the block you must provide the name of all objects
(Sectq) a (car (entsel))
(setq b (car (entsel)))
(command "_block" "pippo" "0,0" a b "
if you have a selection group, for example <selection ca0="" set:=""> </selection>, just provide the group name
(Sectq) c (sadd)
(setq a (car)
(setq b (car (entsel)))
(setq c (added to c)
(setq c (ssadd b c))
(command "_block" "topolino" "0,0" c "")
to insert the block(command "_insert" "0,0" "1" "1" "0")