PDA

View Full Version : QLEADER Stuff



psuchewinner
2004-06-24, 10:04 AM
How do I get the attachment problems squared away with respect to left justified text.

1. The hook line will only be as long as the arrowhead. When I have multiple line of text, to the left of the arrowhead, I want the hook line to extend to the shortest line of text, but it does not work like that.
2. When stretching the QLEADER and placing it on the opposite side of the arrowhead, the leader switches sides, as it is supposed to, but the attachment switches to the wrong place. It should go to the middle, height wise, of the top line of text. I am thinking that i will need to turn the hook line off, but i fear that it will stay off when it is stretched to the opposite side.
The QLEADER is a good tool, but it is kind of hard to use in custom applications. I am working on a routine to place annotation on a drawing by placing the text and runing the leader to the object. Kind of like a "reverse leader".

whdjr
2004-06-24, 01:02 PM
Just as point of discussion, we do all our text indepedently from the QLEADER command. We come back after we place the text where we want it and run QLEADER again with the annotation turned off and just place a leader.

You might try that although the text and the leader are independent.

psuchewinner
2004-06-24, 04:38 PM
My most idea to get this to work is to draw a polyline, extract the vertices, erase the polyline and then draw a QLEADER (without a hook line) in its place. This may be combersom, but it should get rid of the attachment location problem.

whdjr
2004-06-24, 05:25 PM
You do realize you can draw a QLEADER without a text object, right?

psuchewinner
2004-06-25, 01:54 AM
Yes, but I am not real sure how the whole "null" argument goes (I am new to VisuaILisp and ActiveX, but i have been messing with AutoLisp since the 90's). I thought about that but then I would not be able to maintain any associativity. I will post my routine somewhere, probably at AFRALISP when i get it done. I asked Kenny some questions about it a while back but i have not been able to work on it until now. It has been a work in progress for about 6 months. He was intrigued by the "reverse" leader concept.

whdjr
2004-06-25, 12:44 PM
Post it here as a challenge. I'm sure someone can help.

paulmcz
2004-06-26, 02:14 AM
(command "leader" point1 point2 "" "" "n" ^c^c)

LT.Seabee
2004-07-08, 09:01 PM
Speaking of Qleader and its quirks - is there somewhere (i.e. sysvars) that handle the different settings? If we implement certain routines that pertain to qleader, we want the same settings. Does anyone know how to manipulate those?

Mike.Perry
2004-07-09, 06:47 AM
Hi

Check out the following thread -

QLEADER SETTINGS (http://forums.augi.com/showthread.php?t=5248&highlight=QLeader)

Have a good one, Mike