Help with Select Previous

Help with Select Previous

nrz13
Advisor Advisor
4,415 Views
20 Replies
Message 1 of 21

Help with Select Previous

nrz13
Advisor
Advisor

I'm trying to automate selecting all the previous objects.

If I type SELECT and enter P, this works.  But when I put that into a LISP, it doesn't keep the selection.  What am I doing wrong?  Thanks

(DEFUN C:SEL ()(COMMAND "SELECT" "P")(PRINC))


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 64GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Accepted solutions (2)
4,416 Views
20 Replies
Replies (20)
Message 21 of 21

nrz13
Advisor
Advisor

Thanks for the additional info.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 64GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes