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

overkill for all including blocks

  • Thread starter Thread starter jim78b
  • Start date Start date

jim78b

Guest
Does anyone know if there is a lisp to ensure that the command in question functions also for the lines and other contained in the blocks?
I searched on the net but found nothing that works.

Thank you.
 
to overcome the lack created files with block blocks wblocks, then with createscript you run them overkill, through blocktoxref you replace them to existing blocks and if you need you do the bind.
 
I don't know anything about lisp but I wonder if it's possible to make one in which you edit all the blocks and execute the overkill command?
 
(defun c:boverkill(/ count)
(setq sel (ssget "x" (cons 0 "insert"))))
(setq count 0)
(repeat (sslength sel)
(setq n (ssname sel count)
(setq nblocco (cdr (assoc 2)))))
(command "bedit" nblocco)
(command "-overkill" "_all"")
(command "bedit")
(command)
(setq count (1+ count)
)
)

the overkill command parameters you must set them before the boverkill command
only works on blocks
if you want to automate even overkill on the design use: (command "-overkill" "_all"")

It's a bit rough, but it should work.
 
I have normal blocks many ...some nested .for this is not right? would be useful to use with all dwg .
 
is a problem related to the autocad version, with 2018 it works, with 2012 no (I only have this subhandle).
 
I have 2013 I .e with refedit can not do?

ps: I have the English version

cmq even if going does not work with nested blocks?
 
refedit is to edit external references, presumes to find the dwg to edit.
the problem of nesting is solved, just read the table of the blocks present in the drawing, insert it, operate the overkill, delete it and proceed with the following.
 
the problem is only in the autocad version, get it and I'll change the lisp.
with the previous post I didn't mean "arranged", just explain the steps needed to solve the problem.
 
no, unfortunately I can't tell you which overkill version also works in the bedit command.
 
with what posted no, it touches to change it, not a big problem however, as soon as I have time I see to put hand.
 

Forum statistics

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

Members online

No members online now.
ciao
Back
Top