V9 lisp failure
I can't get this batch print program to run in V9. I replaced (xload "doslib4.dll) with(arxload "DOSlib.drx") to no avail. I'm hoping some of you lisp gurus out there wouldbe able to help. I attached the program - thanks.<(defun C:BPRINT (/ )(if (not dos_dir) (arxload "DOSlib.drx"))(setq files (dos_getfilem "Select files to print.." "c:\""Drawing Files (.dwg)|.dwg"))(setq dwgpath (car files))(if (/= files nil)(progn(foreach dwgfile (acad_strlsort (setq dwgsonly (cdr files)) dwgsonly)(command "open" (strcat dwgpath dwgfile))(command ".qprint")(command ".qsave")(command ".close")))))
Comments
-
I havent used doslib for Bricscad, but wouldn't you add a (findfile), like (findfile "doslib.drx") ?
0 -
Arxload is not supported acc to the manual.Se apploadPatrik
0 -
According to an earlier post arxload was to be used in V8. The specific instructionswere to replace (xload doslib4.dll) with (arxload doslib17.drx). Perhaps the latestdoslib is not yet compatible with V9. My programming skills are nil, so I may haveto issue a support request on this one.
0 -
doslib_bcv8_20080418 Doesn't work in BC9. Using (arxload "doslib") produces an error.In BC8 (arxload "doslib") works and the application is loaded successfully. For Instance: (dos_date) returns the current date.
0 -
The DOSLib build from McNeel was for V8 - because V9 is not binary compatible, we already asked McNeel to provide a new compilation/build of his DOSLib for V9.Then, "DOSLib.drx" will be loadable again in V9.Btw, I'm planing to implement those most often used functions from DOSLib into Lisp engine - thus, making Lisp applications running even if DOSLib is not loaded; but of course, if DOSLib is loaded, it will not conflict with internal implementations.
0 -
Will features like "dos_msgbox" be builtin.
I am presently migrating from V7 to V11 (classic) and miss the availability to load DOSLIB.
Thank You
0 -
Hi Ricahrd,
(dos_msgbox) function in doslib can already be used in Bricscad V11 if you use doslib.drx version 7.8.0.1. Let me know if you want this version and I can email it to you.
The latest BRX version of doslib (I think it is v8) works only in Bricscad 10 and not under V11.
- rakesh.rao@4d-technologies.com
- www.4d-technologies.com / www.coordsys.com
- Blog:EN: http://rakeshrao.typepad.com
- Blog: ES: http://kiranabhat.typepad.com0 -
Hi Rakesh,
DOSLib 8.3 is already updated for V11 Pro http://download.rhino3d.com/McNeel/1.0/doslib/
Regards, Vaidas
0 -
Hi Vaidas,
That is good news indeed. Thank you for letting me know. It was not there on the site couple of weeks back when I checked.
- rakesh.rao@4d-technologies.com
- www.4d-technologies.com / www.coordsys.com
- Blog:EN: http://rakeshrao.typepad.com
- Blog: ES: http://kiranabhat.typepad.com0 -
The problem is is that Doslib will not load with the Classic version of Bricscad.
0 -
@ Richard:
The latest version of DOSlib is only available as a BRX application and therefore cannot be uses with Bricscad Classic. As Rakesh Rao has mentioned DOSLib.drx version 7.8.0.1 can be used with BC11. As BC Classic supports DRX, you should also be able to use this version with BC11 Classic (untested).0 -
Hi Richard,
Thank you for point that out!! That is news to me!! I thought the Classic version did not run DRX as well. Now, that means I can make my GeoTools software available on Bricscad Classic.
- rakesh.rao@4d-technologies.com
- www.4d-technologies.com / www.coordsys.com
- Blog:EN: http://rakeshrao.typepad.com
- Blog: ES: http://kiranabhat.typepad.com0 -
Sure, DOSLib's DRX file works for Classic and I'm using it for KitoxToolset http://www.bricscad.com/common/applications/application.jsp?app=334 since V9, because I'm so lazy to write my own getini/setini function
0 -
DOSLib's DRX file may work with CLASSIC but I am still unable to load it.
I get this error message ...
Error loading "C:\DOSLIB17\DOSLib17.drx": .
* (arxload) : can not LOAD file <C:\DOSLIB17\DOSLib17.drx>Any help would be apprciated.
Thanks
Rick
0 -
I think the name of file must be DOSLib.drx instead of DOSLib17.drx in your loader. Try this (add path if required):
(if (= 0 (boole 1 (getvar "licflags") 2)) (arxload "DOSLib.drx"))
0 -
There are two versions of DOSLib.drx version 7.8.
- DOSLib.drx; 176.128 bytes; 20080418 (jjjjmmdd); No Readme.txt in zip
- DOSLib.drx; 184.320 bytes; 20081014; Readme.txt in zip: DOSLib 7.8 for Bricscad version 9.1.7 (build 12976)If you check the properties of these files both report version 7.8.0.0. But only the second file will load in BC11 and after loading (dos_version) returns: (7 8 0 1).
0