Anonymous
477 Vistas, 2 Respuestas
11-22-2019
09:37 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
11-22-2019
09:37 AM
AutoLISP Help
Hello,
I trying to add something to a lisp command that I have which uses Lee Mac's Viewport Outline LISP to create an outline in model space from a viewport and then zoom to that outline in model and delete the outline. I just want to add a safeguard to prevent the lisp from continuing if I do not select something. How would I achieve this?
;;;Model zoom to viewport (defun c:zb () (c:vat) (setq a(entlast)) (command "layout" "set" "model") (command "zoom" "object" a "") (command "erase" a "") (princ) )
"c:vat" is the Lee Mac Viewport Outline LISP.
Thank you!
Michael