TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: dubb on June 15, 2005, 01:02:21 PM

Title: ployline leader
Post by: dubb on June 15, 2005, 01:02:21 PM
i have been trying to get this one started for a while but i dont know how...basically all i need is for the lisp routine to look like this picture

http://www.theswamp.org/lilly_pond/dubb/dbl-arrow.jpg?nossi=1

can someone help, or guide me the right direction...?
Title: ployline leader
Post by: Mark on June 15, 2005, 01:32:20 PM
Here's a start, a bit rough but a start no less. :)
Code: [Select]

Command: (SETQ P1 (GETPOINT))
(5.84501 27.1161 0.0)

Command: (SETQ P2 (GETPOINT))
(25.2832 26.9796 0.0)

Command: pline
Specify start point: !P1
(5.84501 27.1161 0.0)

Current line-width is 0.00
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: W

Specify starting width <0.00>:

Specify ending width <0.00>: .25

Specify next point or [Arc/Halfwidth/Length/Undo/Width]: L

Specify length of line: 1.0

Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: W

Specify starting width <0.25>: 0

Specify ending width <0.00>:

Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: !P2
(25.2832 26.9796 0.0)

Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: W

Specify starting width <0.00>: .25

Specify ending width <0.25>: 0

Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: L

Specify length of line: 1.0

Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:
Title: ployline leader
Post by: CAB on June 15, 2005, 01:54:09 PM
Here is more help.
You should be able to modify one of these.

http://www.theswamp.org/phpBB2/viewtopic.php?t=1726&highlight=double+leader

http://www.theswamp.org/phpBB2/viewtopic.php?t=2722
Title: ployline leader
Post by: dubb on June 15, 2005, 02:23:04 PM
swell,.....thanks cab..ill be getting back to this topic with something later on...