Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi People!!!!!
someone could help me?!!!
My code don´t work!!
(defun c:DIAGRAMA ()
;GUARDAR INFORMAÇÕES......
(setq layer_atual (getvar "clayer"))
(setvar "OSMODE" 1)
;INSERINDO A CAIXA....
(command "-layer" "M" "F-VT-DIAGRAMA_CX" "C" "2" "" "")
(setq inicial (getpoint "\nCLIQUE NO PONTO DE INÍCIO DO PERFIL..."))
(setq final (getpoint "\nCLIQUE NO PONTO FINAL DO PERFIL..."))
(setq comprimento (rtos (car final)))
;ELABORAÇÃO DO DESENHO...
(setq local (getpoint "\nCLIQUE NO PONTO DE INSERÇÃO..."))
(command "_pline" local "@100<90" "comprimento<0" "@100<270" "c")
;FINALIZAÇÃO
(setvar "CLAYER" layer_atual)
(princ)
)
(prompt "\nLISP PARA ELABORAÇÃO DE DIAGRAMA DE BRUCKNER")
Solved! Go to Solution.