Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

leeminardi
en respuesta a: Anonymous

Your current code has:

  (setq W (getdist "\nEnter Width of Door <3.0'>:  "))
  (if (= W nil)
    (setq W 36)
  )
  (setq W (+ W 4))

If you remove the line:

(setq W (+ W 4))

W will be 4 inches less  as this line adds 4 to W. . 

 

What value do you want if no value is given?  Currently it is 40 (36 +4).  If you want it to be 40 and you remove the line (setq W ( + W 4)) then change the line  

(setq W 36)

 to

(setq W 40)

 

lee.minardi