Angelo2449
Guest
Hello everyone,
With this software downloaded from the web, I can create an anonymous block:
With this software downloaded from the web, I can create an anonymous block:
Code:
(defun creablocofr (/ sset tell ent ent_get ent_getu blk)
(princ "\n seleziona gli oggetti da animare: ")
(setq sset (ssget))
(if sset)
(entmake (list
'(0 . "block")
'(2 . "*u")
'(70. 1)
'(10 0.0 0.0 0.0))
(setq tell 0)
(setq ent (ssname sset tell))
(while int
(setq ent_get (entget ent))
(if (/= (cdr (assoc 0 ent_get)) "polyline")(progn
(setq ent_getu (cdr ent_get))
(endel ent)
(entmake ent_getu)
(progn
(setq you enter
enter_getu (cdr ent_get)
(while (/= (cdr (assoc 0 ent_getu)) "seqend")
(setq ent_getu (cdr (entget entu)))
(entmake ent_getu)
(setq entu (entnext entu))
);while
(endel ent)
)
);if
(setq tell (+ tell 1))
(setq ent (ssname sset tell))
)
(setq blk (entmake))
(entmake)
(cons 2 blk)
'(10 0.0 0.0 0.0))
);progn
);if
(principal "\n il gruppo è stato creato")
(principal)
(setq identifiercativo "000000")[CODE]the created block is not exploding, how can you make it exploding?
Thank you.
); end of command createblock
(princ)