Author Topic: Engineering Site Grading question  (Read 15234 times)

0 Members and 1 Guest are viewing this topic.

CADaver

  • Guest
Engineering Site Grading question
« Reply #45 on: April 27, 2005, 06:46:37 PM »
Quote from: MSTG007
as .03 = 3%
Exactly, if you answer the prompt with .03 eveything should work, but if you entered 3% it'd blow up.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Engineering Site Grading question
« Reply #46 on: April 27, 2005, 07:30:38 PM »
Quote from: CAB
MP is always right.

The only time I was ever right was the time I stated that I am frequently wrong.

:lol:
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Jeff_M

  • King Gator
  • Posts: 4094
  • C3D user & customizer
Engineering Site Grading question
« Reply #47 on: April 27, 2005, 09:09:39 PM »
The problem with the code is that "slope" is a defined function, and it is this line that is cfreating the problem:
(if (= slope nil)   (setq slope -.002))

-.002 is NOT a real number so lisp is interpreting it as a new subroutine. Change it to be -0.002 and all will be well.