See the top rated post in this thread. Click here

Results 1 to 10 of 29

Thread: LOOKING FOR A LISP ROUTINE

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    2003-04
    Posts
    19
    Login to Give a bone
    0

    Default LOOKING FOR A LISP ROUTINE

    I am currently working with LDD. I'm not sure if one exists, or how to go about creating one, but I'm looking for a lisp routine that will interpolate an elevation. It would need to work as such: You would be promted to select a point, input an elevation for that point, select a second point, then input an elevation for that point. The lisp would calculate the slope based upon the 2 elevations and the distance obtained from the 2 selection points. Then you would be promted to select a point in between those 2 original points, and the lisp would calculate the elevation for you based upon the obtained slope. This routine would be a tremendous help in obtaining proposed spot grades for a proposed grading plan.

    Thank You,
    Chris Bird

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: LOOKING FOR A LISP ROUTINE

    Do you want to do this without creating LDT points?
    Last edited by rkmcswain; 2007-10-22 at 05:40 PM. Reason: edit
    R.K. McSwain | CAD Panacea |

  3. #3
    Member
    Join Date
    2003-04
    Posts
    19
    Login to Give a bone
    0

    Default Re: LOOKING FOR A LISP ROUTINE

    Yes if at all possible. If not, then I will find a work around.

  4. #4
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: LOOKING FOR A LISP ROUTINE

    Do you want to pick 2 actual POINT entities?
    Could you pick a single 3d LINE entity instead?

    Is your 3rd point always going to be on the line defined by the first two points, or will the 3rd point form a triangle?
    Are curves a factor, or will this always be three points on a line?
    R.K. McSwain | CAD Panacea |

  5. #5
    Member
    Join Date
    2003-04
    Posts
    19
    Login to Give a bone
    0

    Default Re: LOOKING FOR A LISP ROUTINE

    -I do not want to pick 2 point entities.
    -I could pick a single 3d line instead if it gave me the option to input the elevation for each end of the line.
    -The 3rd point will always be on the line and not form a triangle.
    -It would be nice if it could work with curves as well, such as a 3d polyline with a curve. But I know that adding curves tends to complicate things. So to keep it simple and easy a straight line would work.

  6. #6
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: LOOKING FOR A LISP ROUTINE

    Quote Originally Posted by INTELLIBIRD2 View Post
    -I do not want to pick 2 point entities.
    -I could pick a single 3d line instead if it gave me the option to input the elevation for each end of the line.
    -The 3rd point will always be on the line and not form a triangle.
    -It would be nice if it could work with curves as well, such as a 3d polyline with a curve. But I know that adding curves tends to complicate things. So to keep it simple and easy a straight line would work.
    3D Polylines do not have curves.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  7. #7
    Member
    Join Date
    2013-08
    Posts
    6
    Login to Give a bone
    0

    Default Re: LOOKING FOR A LISP ROUTINE

    What about selecting a 3dline, typing in an elevation and the lisp routing set a point on that line at that elevation?

Similar Threads

  1. Calling up LISP routine from within another LISP
    By jimmy_goodall in forum AutoLISP
    Replies: 4
    Last Post: 2013-08-21, 05:56 AM
  2. NEED HELP WITH LISP ROUTINE - PURGE linetype lisp
    By ECASAOL350033 in forum AutoLISP
    Replies: 6
    Last Post: 2013-06-21, 01:13 AM
  3. Help with a lisp routine to add a 12" line to this routine
    By Orbytal.edge341183 in forum AutoLISP
    Replies: 3
    Last Post: 2012-11-14, 10:33 PM
  4. Combine three lisp routine into one routine.
    By BrianTFC in forum AutoLISP
    Replies: 1
    Last Post: 2012-02-08, 12:14 PM
  5. Replies: 9
    Last Post: 2012-01-21, 07:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •