Sei sulla pagina 1di 2

Programacin con autocad

(defun if()

(setq a (getint "ingresar una medida : "))

(if (> a 10)

(PROGN

(setq p1 (getpoint "ingresar un punto : "))

(command "_circle" p1 a )

(PROGN

(setq p2 (polar p1 0 a))

(command "_line" p1 p2)

)
)

Potrebbero piacerti anche