Author Topic: [Help] : Connect block to Line / Pline !!!  (Read 323 times)

0 Members and 1 Guest are viewing this topic.

quockhanh7a

  • Mosquito
  • Posts: 2
[Help] : Connect block to Line / Pline !!!
« on: August 07, 2022, 03:43:21 AM »
Hi everyone, I have a LISP problem that I need help with.
I have a LISP, connect block to line. But LISP only runs for line objects, and for polyline objects, LISP doesn't run.
I hope everyone can help me to fix this LISP, I'm very grateful.
I have attached LISP and illustrations below.

quockhanh7a

  • Mosquito
  • Posts: 2
Re: [Help] : Connect block to Line / Pline !!!
« Reply #1 on: August 07, 2022, 03:46:38 AM »
I would like to send the illustration attached

BIGAL

  • Swamp Rat
  • Posts: 1063
  • 40 + years of using Autocad
Re: [Help] : Connect block to Line / Pline !!!
« Reply #2 on: August 07, 2022, 07:23:06 PM »
A couple of issues if we used getclosestpoint to it will draw connection at 90 deg to the wavy line, I would expect that the block orientation would not always be horizontal.

So back to my question is 90 ok.
A man who never made a mistake never made anything