How To Add More Value in Popup List

How To Add More Value in Popup List

tim11_manhhieu
Advocate Advocate
154 Views
6 Replies
Message 1 of 7

How To Add More Value in Popup List

tim11_manhhieu
Advocate
Advocate

I want to add more B, C, D to the list.

 

tim11_manhhieu_0-1757903850670.png

 

0 Likes
Accepted solutions (1)
155 Views
6 Replies
Replies (6)
Message 2 of 7

tim11_manhhieu
Advocate
Advocate

I tried adding this code to .lsp but nothing happened

 

tim11_manhhieu_1-1757908308755.png

 

 

(setq scr "0")
(setq llist '("A" "B" "C"))
(start_list "REVISION")
(mapcar 'add_list llist) 
(end_list)

 

 

 

0 Likes
Message 3 of 7

Moshe-A
Mentor
Mentor

@tim11_manhhieu  hi

 

There is noting wrong with the code you post as far i can see so the problem is else where, post your full code dcl + lsp

 

Moshe

0 Likes
Message 4 of 7

paullimapa
Mentor
Mentor
Accepted solution

your dcl code can include list like this:

    : popup_list {
        label = "REVISION";
        key = "REVISION";
        list = "A\nB\nC\nD";
    }

Then the popup list will look like this:

paullimapa_0-1757920412137.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 5 of 7

tim11_manhhieu
Advocate
Advocate

Appreciated.

0 Likes
Message 6 of 7

paullimapa
Mentor
Mentor

You are welcome…cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 7

davidhennry263
Observer
Observer

Reading this discussion about extending lists in AutoLISP reminds me how managing structured data is a challenge across platforms. Just like you added “A, B, C, D” into the pop-up list, I recently organized multiple workflows and shortcuts on my iPhone 16 Pro Max to streamline repetitive tasks. The concept is very similar — whether it’s customizing a DCL list in CAD or arranging quick-access menus on a smartphone, the goal is to make navigation more efficient. Great thread, it shows how small adjustments can really enhance productivity.