·         Tiny Tip

 

 

·         Add this line after end of code in an lsp file to start the command after load:

 

·         (command "script" "ct")

 

·         This line already exists in 5t.lsp (Find Text) where ct is the command name (alias) defined to run the code.

 

·         With this line, after code has loaded we do not have to enter ct and press enter key to run the command.

 

·         Without this line we have to enter ct and press enter key to run command after load.

 

 

·         Copy and Paste Find Text 5t.lsp

 

 

·         We will need ct.scr with the text "ct" in it.

 

·         Create a text file and name it:  ct.scr

·         Text in file:  ct

·         Save where Autocad can find it

 

·         Download ct.scr

 

 

·         Between the Lines

 

·         We can read that the lsp file name (5t.lsp) could be any name

·         All Autocad cares about is the "ct" definition

·         We can also change the "ct" to anything else we want with a text editor

·         We must also change the contents of the script file (ct.scr) too