Lee Mac Posted March 28, 2010 Posted March 28, 2010 Thanks a lot.I tested the routine again. I found that if my axis be a polyline, the routine cann't display all distances between two intersections (such as lines and curves) and just display distance between them. Is my conclusion ture? Do you mean when using a UCS other than World? Quote
kasra Posted March 28, 2010 Posted March 28, 2010 Do you mean when using a UCS other than World? No. I mean if my centerline(axis) is polyline, the routine doesn't work properly. Quote
Lee Mac Posted March 28, 2010 Posted March 28, 2010 The routine works with all types of Polyline, Lines, Circles, Arcs, Splines etc . I cannot get it to fail in testing - could you provide a drawing in which you believe it is failing? Quote
kasra Posted March 28, 2010 Posted March 28, 2010 The routine works with all types of Polyline, Lines, Circles, Arcs, Splines etc . I cannot get it to fail in testing - could you provide a drawing in which you believe it is failing? I attached a dwg file that i tested it. test.dwg Quote
Lee Mac Posted March 28, 2010 Posted March 28, 2010 I cannot understand why you feel the function is failing, your drawing correctly displays the distances between each intersection and to the end of the curve. The points at which your leaders are pointing to are not the Start and End points of the curve, they are just two vertices within the curve. Lee Quote
kasra Posted March 28, 2010 Posted March 28, 2010 if you explode the red one in drawing and run the routine again, you understand what i mean. i need this situation in my work. Quote
Lee Mac Posted March 28, 2010 Posted March 28, 2010 if you explode the red one in drawing and run the routine again, you understand what i mean. i need this situation in my work. You didn't mention anything about exploding the curve - when exploded and running the routine, it will return the measurements as per your magenta dimensions in the earlier post. You say: ...the routine doesn't work properly. I don't see how you have reached this conclusion, when the routine clearly displays the correct measurements for every selected curve - you have even demonstrated this fact in your example drawing. I would recommend that you understand the purpose of such a program before making such claims against it. Quote
kasra Posted March 28, 2010 Posted March 28, 2010 I'm so surry. I never mean that. The routine you provided is so useful for lots of goals. Quote
kasra Posted May 6, 2010 Posted May 6, 2010 Hi Lee. Can you please modify your routine for requesting a selection set instead of entsel??? Quote
kasra Posted May 7, 2010 Posted May 7, 2010 Hi dear Mac Lee. What did i do wrong in my drowing? I used the first routine posted in #35 on the blue line in the attached drawing. It retruns alwayse this error: ** Error: bad argument type: numberp: nil ** Can you help me? Drawing1.dwg Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.