cadamrao 发表于 2022-7-6 11:16:17

How to easy align BLOCKS (dyna

Hi
 
How to easy align BLOCKS (dynamic & standard) parallel to selected LINE, POLYLINE, and SPLINE; could you help LISP to solve this problem? Please find sample drawing.
 
amr
BLOCK ALIGN WITH OFFSET.dwg

MarcoW 发表于 2022-7-6 11:27:13

My idea is kind of "rigerous" but that is how I would try / experiment...
 
For normal blocks: open block in block editor and add an align parameter.
The block now becomes dynamic.
 
For dynamic blocks : also put an align parameter in it.
 
Now you should be able to align easily.
Maybe the insertion point is not suitable and you should modify that too.
 
Good luck.

MarcoW 发表于 2022-7-6 11:37:40

I do not know if you can see swf files but here's a link with a short example:
 
LINK

Lee Mac 发表于 2022-7-6 11:44:59

I think I have already written something like this, I'll get back to you.

alanjt 发表于 2022-7-6 11:58:55

RotateObjects.LSP
 
This was my baby for a while. I need to spend some time updating it.

alanjt 发表于 2022-7-6 12:06:12

I think the above is what you are shooting for, but for align and array, you can use this...
 
CopyAlongCurve.LSP

alanjt 发表于 2022-7-6 12:14:48

 
I'm such a 'tard. This should be a more recent version of it.
http://www.cadtutor.net/forum/showpost.php?p=275754&postcount=21

Lee Mac 发表于 2022-7-6 12:24:11

See here
页: [1]
查看完整版本: How to easy align BLOCKS (dyna