Jump to content

Recommended Posts

Posted

You will need to delete the DCL file and make the change to the LISP code also.

 

The DCL file may be found in the same directory as:

 

(findfile "ACAD.pat")

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

  • The Buzzard

    11

  • Lee Mac

    9

  • alanjt

    6

  • tagkelas

    6

Top Posters In This Topic

Posted Images

Posted

Just for a bit of fun...

 

(defun DemoSelect (/ *error* dyn d)
 (setq *error* (lambda (x) (and dyn (setvar 'dynmode dyn))))
 (and (setq dyn (getvar 'dynmode)) (setvar 'dynmode 3))
 (initget 0 "1 2 3 Exit")
 (setq d (cond ((getkword "\nSpecify demo number [1/2/3/Exit] <1>: "))
               ("1")
         )
 )
 (*error* nil)
 (if (/= d "Exit")
   (strcat "Demo " d)
 )
)

 

DemoSelect.PNG

Posted
You will need to delete the DCL file and make the change to the LISP code also.

 

The DCL file may be found at:

 

(findfile "ACAD.pat")

Lee,

 

I did several searches by name & date. These are ACAD Hatch pattern files. There is nothing in them that represents a dialog file.

Posted
Lee,

 

I did several searches by name & date. These are ACAD Hatch pattern files. There is nothing in them that represents a dialog file.

 

Look in that directory :)

Posted

Ok,

 

So its not in the ACAD.pat but in the same directory as that.

 

LMAC_BFind_V1.0.dcl

LMAC_BFind_V1.1.dcl

LMAC_demo.dcl

LMAC_mapping_V1.1.dcl

 

Not sure if that is such a good idea since many users would have become confused like me. Some could have mis-interpreted that as being in the ACAD.pat and deleted that file.

 

Although I find it interesting.

I think you should have explained that better Lee.

Posted

One more...

(No one is listening, but I'm still having fun.)

 

(defun DemoSelect (/ *error* dyn d)
 (setq *error* (lambda (x) (and dyn (setvar 'dynmode dyn))))
 (and (setq dyn (getvar 'dynmode)) (setvar 'dynmode 3))
 (initget 0 "1 2 3 Exit")
 (setq d (cond ((getkword "\nSpecify demo number [1/2/3/Exit] <1>: "))
               ("1")
         )
 )
 (*error* nil)
 (if (/= d "Exit")
   (eval (read (strcat "(c:Demo" d ")")))
 )
)

Posted
One more...

(No one is listening, but I'm still having fun.)

 

(defun DemoSelect (/ *error* dyn d)
 (setq *error* (lambda (x) (and dyn (setvar 'dynmode dyn))))
 (and (setq dyn (getvar 'dynmode)) (setvar 'dynmode 3))
 (initget 0 "1 2 3 Exit")
 (setq d (cond ((getkword "\nSpecify demo number [1/2/3/Exit] <1>: "))
               ("1")
         )
 )
 (*error* nil)
 (if (/= d "Exit")
   (eval (read (strcat "(c:Demo" d ")")))
 )
)

Sorry about that Alan,

 

I am not such a big fan of command prompt programs as some are not of dcl, But its a good thing you are still having fun all the same.

Posted
Sorry about that Alan,

 

I am not such a big fan of command prompt programs as some are not of dcl, But its a good thing you are still having fun all the same.

I can understand that. However, in the above subroutine, I utilized the Dynamic Mode, which acts like a dialog.:wink:

Posted
I can understand that. However, in the above subroutine, I utilized the Dynamic Mode, which acts like a dialog.:wink:

Well,

Thats different considering Im always in a Dynamic Mode, Only difference is, I do not act like a nut.

Im the real deal!

Posted
Well,

Thats different considering Im always in a Dynamic Mode, Only difference is, I do not act like a nut.

Im the real deal!

HuH? :huh:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...