Reusing Lisp dialog box

Reusing Lisp dialog box

Anonymous
Not applicable
1,276 Views
3 Replies
Message 1 of 4

Reusing Lisp dialog box

Anonymous
Not applicable

Hi,

 

I have been tasked with creating a lisp routine for inserting our standard details with minimal searching. Attached is what I have so far, my question is i have to create additional sets of lisps other detail groups(files start with PPEN, PDET, FPSI, etc.) Is it possible to reuse the dcl file and have the lisp routine fill in the values that are showing on the dialog box?

 

Thanks in advanced.

0 Likes
1,277 Views
3 Replies
Replies (3)
Message 2 of 4

john.uhden
Mentor
Mentor

Does Design Center still exist (Ctrl+2)?

 

or, I have a details mini-suite that maintains a library including remarks and slide files.

There's a MKDTAIL command which also creates a slide file and an ISDTAIL command which displays the slide and remarks/description and provides for inserting.

Oh, yeah.  I also have a BKEEPER program that helps to organize files and display slides, etc. (see image below)

I should sell them but I don't use them anymore.  They are a bit ancient.

 

BKEEPER.jpg

I'm sorry... In answer to your question... yes.

John F. Uhden

0 Likes
Message 3 of 4

scot-65
Advisor
Advisor

I am not sure how advanced you are with LISP and DCL.

 

Basically one can use the DCL over and over again but there

is a catch - The DCL part will have to be written on the fly,

inside the LSP file, as a temporary file. VL-FILENAME-MKTEMP

will be your friend here. All labels will have to be written on

the fly (you show 3 of them).

 

It is possible to assign a keystroke to a specific library where

in the LSP part catch the argument that was sent.

For example:

(defun c:ZA () (MyZOOM "All"))

(defun c:ZP () (MyZOOM "Previous"))

 

How about an alternate?

Create radio buttons of all the libraries available.

When the user selects one of the buttons, populate a list_box

with all the files (or whatever you have) in that individual's

category. From there the user will select one line in the list

box and OK to execute.

 

Let's try to eliminate an edit box as there can easily be a user

input error (misspelling).

 

Below is a somewhat similar application that resembles what

you want to do. The popup_list shown is used instead of radio

buttons. The list box is actually populated with data in a

INI-structured text file where "Item=Destination" which translates

to item is in the list box and destination is in the edit box.

 

LCV01.gif

 

???

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 4 of 4

john.uhden
Mentor
Mentor

How about this dialog box?  It doesn't need to be written on-the-fly, but it can be populated on-the-fly.

 

CV_ALIAS.jpg

John F. Uhden

0 Likes