In simplest terms, here's one way:
{code}
(command
"_.pline"
ti
(polar ti (/ pi 2) (* ht 1.33))
(polar (getvar 'lastpoint) 0 (* ht 4.0))
""
)
{code}
That would put the horizontal segment to the right. You can build in a User selection about which
way it goes, adding a multiplier of +1 or -1 to the distance in the second (polar) function, or
switching between 0 and pi for the angle, depending on their selection. [Similarly, you could let
the User choose whether the vertical goes up or down.] And you can force the Polyline width in case
the current width might be different, and various other things.
--
Kent Cooper
"djohnson" wrote...
I am trying to draw a verticle polyline from the midpoint (ti) of a line based on the text height
(ht) * 1.33 then continue with a horizontal line based on the text height (ht) * 4.0 so it looks
something like an L turned on its side.
could someone give me a helping hand with this. Im a very novice at lisp but can usually stumble
through ok.
--
Dave C. Johnson