TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: quockhanh7a on August 07, 2022, 03:43:21 AM

Title: [Help] : Connect block to Line / Pline !!!
Post by: quockhanh7a 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.
(https://im.ge/i/FR5SW8)
Title: Re: [Help] : Connect block to Line / Pline !!!
Post by: quockhanh7a on August 07, 2022, 03:46:38 AM
I would like to send the illustration attached
Title: Re: [Help] : Connect block to Line / Pline !!!
Post by: BIGAL 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.