Author Topic: Tough Questions - Override "Z" Elevation Lisp  (Read 4028 times)

0 Members and 1 Guest are viewing this topic.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Tough Questions - Override "Z" Elevation Lisp
« Reply #15 on: December 01, 2009, 09:12:21 AM »
Well, there are others posting solutions so I figured what the heck ... I'll add my 2p

Code: [Select]
(defun dist2D (pt1 pt2)
  (apply 'distance
    (mapcar
      '(lambda (x)
        (if (= (length x) 3)
         (reverse (cdr (reverse x)))
         x
        )
       )
       (list pt1 pt2)
    )
  )
)
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

johnshar123xx

  • Guest
Re: Tough Questions - Override "Z" Elevation Lisp
« Reply #17 on: December 01, 2009, 04:43:45 PM »
Wow, I thank you all for taking the time to help me out with this and any of my other questions, it is greatly appreciated, it appears as if OSNAPZ does the trick.  I realize that some of my requests are rather complex, I wish I had the ability to write lisps myself, I am looking into it, but the lisps users are supplying to answer my questions help me to get an idea as to what it takes to create them.  I still have quite a few questions, so thanks again ahead of time to those willing to lend their time and knowledge to help.