Author Topic: Overkill*.lsp  (Read 421 times)

0 Members and 1 Guest are viewing this topic.

mailmaverick

  • Bull Frog
  • Posts: 365
Overkill*.lsp
« on: July 31, 2017, 05:05:01 am »
Hello
I'm using AutoCAD 2014 and I have to use OverkIll in LISP routine. I have seen some routines on the internet in which to use OverKILL in LISP, we have to do following ;-

(load "overkill.lsp")
(setq ss (ssget))
(acet-overkill2 (list ss 0.0001 nil T nil nil))

However, when I run the above routine, it gives error in load command and acet command :-

Error: LOAD failed: "overkill.lsp"; reset after error

Error: no function definition: ACET-OVERKILL2; reset after error

Then I searched my entire computer for the lisp file but there is no overkill.lsp in my entire computer.
In some pages on the internet, I could see (load "overkillsup.lsp") but the same is also no present on my computer.

However, I'm able to use OVERKILL command in AutoCAD and all other Express Tools.

Please see attached DWG file in which there is a closed polyline which is not getting converted into region because its vertices are overlapping. If there is any other solution to correct this problem (I just want to convert it into region), please let me know.

« Last Edit: July 31, 2017, 05:49:42 am by mailmaverick »

GP

  • Newt
  • Posts: 77
  • Vercelli, Italy
Re: Overkill*.lsp
« Reply #1 on: July 31, 2017, 06:42:30 am »
Since AutoCAD2012 "overkill" is a built-in command.

(setq ss (ssget)) 
(command "-overkill" ss "" "")

GP

  • Newt
  • Posts: 77
  • Vercelli, Italy
Re: Overkill*.lsp
« Reply #2 on: July 31, 2017, 06:59:00 am »
Check the polyline...

mailmaverick

  • Bull Frog
  • Posts: 365
Re: Overkill*.lsp
« Reply #3 on: July 31, 2017, 08:51:21 am »
Thanks.
When I do overkill, it creates two entities :-
1.) Polyline (unclosed) having all vertices but last segment open.
2.) Polyline having two vertices.

My problem is :- I want the first polyline to be closed and the 2nd one to be deleted.
After using (command "-overkill" ss "" ""), how do I get hold of both entity names ?

Crookedmonk

  • Mosquito
  • Posts: 15
Re: Overkill*.lsp
« Reply #4 on: August 04, 2017, 04:43:34 pm »
I found this one where it will call out the coordinate locations for you. Maybe someone can modify it to either add a circle at each location or even fix the intersection.
« Last Edit: August 04, 2017, 04:48:31 pm by Crookedmonk »