
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I have been learning about accoreconsole, .lsp, .bat and .scr files since a week ago, so I'm a noob on this but I have read a lot of information and forums so now I made my own "Correlo.bat" that runs accoreconsole.exe that runs "TLEN.scr" that runs "TLEN.lsp"
Everything works fine but here's the issue: The TLEN.lsp works fine in regular Autocad.exe when I call it simply typing TLEN, but when I call it just TLEN in accoreconsole.exe it says:
"Unknown command "TLEN". Press F1 for Help
Command _quit"
;;;;;;;; This is my TLEN.scr file which I added a LINE and saved it just to make sure it's working and it does everything right at least that I add TLEN
TLEN
LINE
0,0,0
100,100,100
SAVE
y
This are some of my attempts to call it but none of them seem to work, ¿What am I doing wrong, is it possible to call a self made .lsp routine? Thank you experts for your help
;;;;;;;;;;;;;;;;;;;,,,,Failure Attempts:
(load C:\Program Files\Autodesk\AutoCAD 2015\TLEN.lsp)
(load C:\\Program Files\\Autodesk\\AutoCAD 2015\\TLEN.lsp)
C:\\Program Files\\Autodesk\\AutoCAD 2015\\TLEN.lsp
(load "TLEN.lsp")
TLEN
TLEN.lsp
NETLOAD TLEN
LOAD TLEN
PARTIALOAD TLEN
"(command <TLEN>)"
(command <TLEN>)
Solved! Go to Solution.