Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

primer commit con el archivo del reloj #1

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

primer commit con el archivo del reloj #1

wants to merge 17 commits into from

Conversation

garayf
Copy link
Collaborator

@garayf garayf commented Apr 27, 2020

No description provided.

Reloj.lsp Outdated
@@ -0,0 +1,3 @@
; Archivo para la creacion del reloj

;Funcion para dibujar el reloj
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(vl-load-com)
(vl-load-reactors)
(vlr-remove-all)

(setq base '(0 0)
listaobj '(""))

(vl-cmdf "_color" 7)
(vl-cmdf "_rectang" base '(1600 750))
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_rectang" '(200 200) '(1400 550))
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_color" 1)
(vl-cmdf "_rectang" '(250 250) '(550 500))
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_rectang" '(700 250) '(1000 500))
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_rectang" '(1050 250) '(1300 350))
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_rectang" '(1050 400) '(1350 500))
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_circle" '(625 325) 25)
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_circle" '(625 425) 25)
(setq obj (entlast)
listaObj (cons (vlax-ename->vla-object obj) listaObj))
(vl-cmdf "_zoom" "_e")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants