HOW TO USE LISP FILES

HOW TO USE LISP FILES

Nel_Zelpher
Advocate Advocate
5,125 Views
13 Replies
Message 1 of 14

HOW TO USE LISP FILES

Nel_Zelpher
Advocate
Advocate

I have this lisp routine that I used a lot back in 2017.  But now it does not work the same way (or at all).

 

used to be all I had to do was drag the file from my desk top into the auto cad screen.  Then i would select several text objects and hit enter.  then autocad would switch from single line object to single line object each time i hit enter.

 

But now the file just plops into the drawing environment like an ole object.  

 

how do you get this thing to run like it used to 5 years ago?

 

of course the file is not a .text file.  When I got it off of my thumb drive its file extension was .cuix.  but they won't let you upload that.  

0 Likes
Accepted solutions (1)
5,126 Views
13 Replies
Replies (13)
Message 2 of 14

Washingtonn
Collaborator
Collaborator

Does your installed AutoCAD LT version have LISP capabilities?

0 Likes
Message 3 of 14

cadffm
Consultant
Consultant

@Washingtonn If he use LT2024: Yes, otherwise not.

 

@Nel_Zelpher >>"of course the file is not a .text file. When I got it off of my thumb drive its file extension was .cuix. "

CUIX files are not Lisp files, also not in 2017 - so this never worked.

Whatever you did in 2017, it wasn't drag&drop a .cuix file to the drawing editor.

Sebastian

0 Likes
Message 4 of 14

paullimapa
Mentor
Mentor

lisp files should have a .lsp extension not .cuix which is a menu file


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

Nel_Zelpher
Advocate
Advocate

The hell did I upload? 

That is weird.  Last time I looked at this file with a text editor it was like all Greek symbols, now its plain text and legible.  also, the extension is lsp.  

Think I uploaded the temp file you get when you download instead of the actual file.  

 

ok file originated from here. Solved: Re: rpttxt - Autodesk Community - AutoCAD Electrical

 

But Whatever.  
this lisp is supposed to be for text editing.  used on single line text objects.  back in autocad 2017 you dragged this file into model space. Then after that all you had to do was type rpt (auto completes as rpttxt).

Then you selected several single line text objects in a given order.  hit enter

then auto cad would open each text and move to the next each time you hit enter.  and it would open those text objects in the same order you selected them.  

 

however now, I am using autocad LT.  When I drag this lsp into cad, it does not load the lsp, but rather dumps the file into model space as an ole.

So now that I have the right file (no idea where that cuix file came from) how do I use it?

 

The correct lsp file is now attached to this comment...

0 Likes
Message 6 of 14

Nel_Zelpher
Advocate
Advocate

how would I tell?

0 Likes
Message 7 of 14

paullimapa
Mentor
Mentor

at the command line enter command ABOUT.

The Product Version should tell you what LT version.

If it shows anything older than LT 2024, then your version does not have lisp support


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

paullimapa
Mentor
Mentor
Accepted solution

You must have AutoCAD LT 2024 for this to work.

I drag & drop the file into the LT 2024 graphics screen area

The following window immediately appears:

paullimapa_0-1685128642097.png

I click on Load Once button

Entered new lisp command function: RPTTXT

selected the 2 Text objects (circled in red)

made the edits in order (circled in blue)

command completed successfully

paullimapa_1-1685128876340.png

 

 

 

 


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

Nel_Zelpher
Advocate
Advocate
Guess, I need to update to 2024.

My work does not pay for my autocad. Is there any way to add lisp functionality to 2023 lt?
0 Likes
Message 10 of 14

cadffm
Consultant
Consultant

No

Sebastian

0 Likes
Message 11 of 14

pendean
Community Legend
Community Legend
@Nel_Zelpher LT2024 is free to anyone on subscription. Not sure how you run LT2023 without a subscription, so ask your employer to upgrade you for free if you are on it.
0 Likes
Message 12 of 14

shailendra_rai06
Community Visitor
Community Visitor

No

0 Likes
Message 13 of 14

shailendra_rai06
Community Visitor
Community Visitor

I'm use AUTOCAD LT 2025

0 Likes
Message 14 of 14

cadffm
Consultant
Consultant

Hi,

what "No" ?

LT 2024 (and newer) has the ability, LT2023 (and older) not.

Sebastian

0 Likes