• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

create new layers for object types and group in lsp

  • Thread starter Thread starter mazzetti68
  • Start date Start date
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")
 
Well, what about gp? It's all clear! !
Thank you so much... and you too dr.lube! !
Good evening to all!!! :
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top