Author Topic: Length of Line or polyline till Intersection  (Read 1182 times)

0 Members and 1 Guest are viewing this topic.

cadnb

  • Guest
Length of Line or polyline till Intersection
« on: May 26, 2014, 02:08:51 PM »
Hi,
I'm new here. I have a problem. I need to annotate the length of lines or polylines (multiple/single) till its first intersection point. The length should be added with a provided numeric value and divided by the scale factor. I have attached the image. I don't need the dimension (shown in the image). Thank you for your any advice..

 

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Length of Line or polyline till Intersection
« Reply #1 on: May 26, 2014, 02:22:02 PM »
Welcome aboard.

LISP automation is very similar to how you would do it manually.  So one of the first steps in writing LISP is answering the question: "How do I do this manually?".  Break it down logically, step by step.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

cadnb

  • Guest
Re: Length of Line or polyline till Intersection
« Reply #2 on: May 26, 2014, 09:18:24 PM »
Primarily I take put Dimaligned command>>>>> Click at first point and then at the intersection point>>>> Took the dimension value>>> Subtract the value from the Base value>>>> Divide the subtracted value by the scale factor>>> enter DT command and put the result.