Author Topic: Hmm  (Read 6431 times)

0 Members and 1 Guest are viewing this topic.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Hmm
« Reply #15 on: September 17, 2005, 09:25:45 AM »
Different is good ...

Workin':

Code: [Select]
(defun Working ( )
    (if (not (eq 'str (type *modemacro*)))
        (setq *modemacro* (getvar "modemacro"))
    )
    (setvar "modemacro"
        (setq *working*
            (cond
            ((eq *working* "!....") "!!...")
            ((eq *working* "!!...") "!!!..")
            ((eq *working* "!!!..") "!!!!.")
            ((eq *working* "!!!!.") "!!!!!")
            ("!....")
            )
        )
    )
    (princ)
)

Cleanup:

Code: [Select]
(defun Done ( )
    (if (eq 'str (type *modemacro*))
        (setvar "modemacro" *modemacro*)
    )
    (setq *modemacro* nil)
    (princ)
)

Test drive:

Code: [Select]
(progn

    ;;  fake a process

    (defun NOP ( )
        (repeat 50000
            (princ)
        )
    )
   
    ;;  pretend we're workin'

    (repeat 100
        (NOP)
        (Working)
    )
   
    ;;  cleanup
   
    (Done)
   
)

:laugh:
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Hmm
« Reply #16 on: September 17, 2005, 10:19:59 AM »
Neat idea, but it is misbehaving in ACAD 2000
I only see the first change to modemacro :-(
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Hmm
« Reply #17 on: September 17, 2005, 10:48:10 AM »
Neat idea, but it is misbehaving in ACAD 2000
I only see the first change to modemacro :-(

Bummer, looks like this in AutoCAD 2006:

Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Hmm
« Reply #18 on: September 17, 2005, 11:02:54 AM »
Cooool, that,s what i had imagined.. 8-)

BTW- Whats Bugs do?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Hmm
« Reply #19 on: September 17, 2005, 11:07:19 AM »
Bugs, bugs and more bugs.

:kewl:
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Hmm
« Reply #20 on: September 17, 2005, 11:13:12 AM »
Is that (spell) Buggs Bunny or something else?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Hmm
« Reply #21 on: September 17, 2005, 11:17:08 AM »
I'm thinking it's a doog myself.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Hmm
« Reply #22 on: September 17, 2005, 11:21:16 AM »
 :kewl:
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Hmm
« Reply #23 on: September 17, 2005, 11:22:28 AM »
Woof!
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Hmm
« Reply #24 on: September 17, 2005, 11:32:18 AM »
 :-o
Looked like Bugs to these old eyes until you doctored er ugh enlarged it. :-D
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.