ground distance...help

Discussion in 'AutoCAD' started by mdowling, Feb 6, 2006.

  1. mdowling

    mdowling Guest

    Hi,
    I have been asked to find the ground distance for 120+ points from
    each point to every other point. I currently have the points on a
    layer and a surface on a seperate layer. The only way that i can see
    how to do this would to be program something in vba. All i need is
    some help. So if someone could start me off i'd be very greatful.
    This is what i'm going to start on...

    Load points from Layer in array

    Start loop to cycle through array.
    find straight line distance between points
    query surface at point 1
    increment by 1metre and find the 3d distance between points
    tally distance
    continue loop untill query coords > point2
    next point in array

    Any suggestions on code or an alternative method would be great.
     
    mdowling, Feb 6, 2006
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.