- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
From Alex (my manager)
"Additionally, how come we are having so many issues with the lisp routine? Is it because of the files we are loading or is it because of the way the lisp was written? "
From me
"Nether. But I don't know how to fix it yet. I have checked the code. It is all good. I have started compiling the code into machine code before publishing it. This helped with most of the apps. But it still had this random anomaly. I wrote an app to load the machine code, rather than loading them directly using ACAD's auto app loader. This has proven the best so far. At least on my machine they load every time correctly. But Amanda's machine doesn't run them without error...... I find nothing on line, so I'm going to open a new question on the ACAD form. We'll see."
This random anomaly: the code loads, It starts to run normally, but then gives a "too few arguments" error. This is usually the case when the selected csv file (input file) is not formatted properly. However, I run the same file against the same FAS and all I get is "1 objects placed from FDC_TEMP" (it ran successfully).
The reason I went to FAS app files was the the lsp code wasn't running without errors when all the code was good.
The reason I went to
;; loadLAapps.lsp Ver 1.1
;;
;; Loads the Cerritos LA apps:
;; DISBLK
;; SELDIS
;; UTLBLK
;; get_ll
;;
;; Mark Mitchell ADP-Resources 4/9/2020
;;
(princ "\n")
(autoload "DISBLK.fas" '("DISBLK"))
(autoload "SELDIS.fas" '("SELDIS"))
(autoload "UTLBLK.fas" '("UTLBLK"))
(autoload "get_ll.lsp" '("get_ll"))
(princ)
was that the code from a freshly load disblk would run as if it was seldis and then ab-end after reading the second record.
(get_ll.lsp is small, short code. No problems. gets lat and long for a selected point. So size of file matters.)
Since I started using loadLAapps.lsp I haven't had any problems running the apps. Neither have three other drafters. Yet, Amanda calls me up today.... She can't get the UTLBLK app to run. It asks for a file, she double clicks the desired file.... "too few arguments" error. I run UTLBLK on my machine selecting the same file.... "1 objects placed from FDC_TEMP" (it ran successfully).
The only difference in our installations is Amanda runs ACAD Map2019, I'm running ACAD Map 2021. But this code should run on Map2014. There's nothing fancy in it.
Any help will be appreciated. Sorry for the rambling request.
link to files (right-click open link in new tab)
This link is to a share on https://adpresources-my.sharepoint.com/
Solved! Go to Solution.