TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: CADEC70 on January 15, 2008, 10:37:24 AM
-
Hi All,
Please help
I need a LISP that draws a series of blocks by just drawing a line.
Thank you
-
Welcome to TheSwamp.
We have some smart folks here but no Mind Readers that I know of. 8-)
Would you post a DWG file with an example of what you are looking for?
-
Sorry bout that
What I'm trying to do is, when I draw a line it will give me a series of rectangles (blocks), as shown on my attachment. And even if I draw/drag it on an angle, the blocks would follow. Is this possible?
-
I smell a reactor...
-
If you have AutoCAD 2006 or later, you could create a dynamic block with an alignment property.
-
Also with an array property, but that property needs to grow up some before it'll be truly "dynamic".
Also, you wouldn't need a reactor. You could have a routine that will allow you to draw a line, then divide said line by using the measure or divide command with the block insert subfunction. It's not too hard really.
-
And even if I draw/drag it on an angle, the blocks would follow.
This is why I think a reactor would be needed. I may have misread it. I was thinking after the line was drawn, if he wanted to lengthen/shorten the line, a reactor would be needed to evenly space the blocks, as opposed to re-drawing it.
-
I think as long as it doesn't have to be a "line" then DynBlock is the way to go. Once you get used to there little quirks when creating them, they are great.
-
And even if I draw/drag it on an angle, the blocks would follow.
This is why I think a reactor would be needed. I may have misread it. I was thinking after the line was drawn, if he wanted to lengthen/shorten the line, a reactor would be needed to evenly space the blocks, as opposed to re-drawing it.
This is what I was going off of. I didn't read the other post. Even with the above quote, drag could mean draw when viewed from a rubberbanding effect of selecting pt1 and pt2, etc.
Hi All,
Please help
I need a LISP that draws a series of blocks by just drawing a line.
Thank you
For this, I would go back to my original point here.