Author Topic: Break lines with gap lisp problem  (Read 157 times)

0 Members and 1 Guest are viewing this topic.

JeremyM

  • Mosquito
  • Posts: 1
Break lines with gap lisp problem
« on: March 08, 2019, 10:40:15 AM »
Good day all,
I've been using this lisp for many versions of cad.  but in 2018 and 2019 versions it isn't working correct anymore.  The gap will be offset to one side more than the other or it will put the gap all on one side.  The strange thing is it on occasion still works.

I know there are other lisps out there we just like the simplicity of this one in that all you have to do is click on the line to break then click on the breaking point.  Although it would be nice to have it work on arcs and splines.

Any help would be greatly appreciated.

ribarm

  • Water Moccasin
  • Posts: 2014
  • Marko Ribar, architect
Re: Break lines with gap lisp problem
« Reply #1 on: March 08, 2019, 12:08:15 PM »
Change :

Code: [Select]
(command "break" ename pt1 pt2)

To :

Code: [Select]
(command "break" ename "_non" pt1 "_non" pt2)
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

CAB

  • Global Moderator
  • Seagull
  • Posts: 10327
Re: Break lines with gap lisp problem
« Reply #2 on: March 08, 2019, 12:14:42 PM »
Welcome to the Swamp Jeremy.

So other break routines you may enjoy.
-------------   Break & Trim   -----------------
http://www.theswamp.org/index.php?topic=10370.0  Break Objects by CAB - Break objects with crossing objects
http://www.theswamp.org/index.php?topic=24646.0  Trim with objects [CookieCutter] by Joe Burke
http://www.theswamp.org/index.php?topic=21324.msg258512#msg258512  by RonJon
http://www.theswamp.org/index.php?topic=35832.0  Block Break Lee
I've reached the age where the happy hour is a nap. ()
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.