Repository navigation
Introduction
Dale Fugier edited this page Nov 4, 2020
·
39 revisions
DOSLib is a library of LISP-callable functions that provide functionality not available in CAD-based LISP programming languages, included with AutoCAD, BricsCAD, and ZWCAD. DOSLib extends the LISP languages, supplied by these applications, by providing the following functionality:
- Drive functions to check for drives, change between drives, and check available disk space.
- Path functions to manipulate path specifications.
- Directory functions to create, rename, remove, select, and change directories. Functions to return special operating system directories are also provided.
- File functions to copy, delete, move, rename, and select files. Functions for getting directory listings, searching and finding multiple instances of files, and changing file attributes are also provided.
- Printer functions to get and set default printers, and spool print files.
- Configuration functions to manipulate Windows-style initialization (.INI) files, and access the Windows Registry.
- Process functions to run internal OS commands or other programs.
- User interface functions to get strings, integers, reals, and lists from the user. Functions for displaying Windows message boxes, progress meters, and splash screens are also provided.
- String functions to tokenize strings, extract characters, find characters, insert, remove, and replace characters, and trim characters.
- Math functions to help with trigonometric calculations, vector manipulation, statistical analysis, and more.
- CAD functions to save all and close all open files. Functions for previewing drawing and listing xrefs are also provided.
- System and other functions, like getting system information, sorting lists, changing the system date and time, manipulating the keyboard, and playing sounds.
| File | Description |
|---|---|
| DOSLib19.arx | DOSLib for AutoCAD 2013 and 2014 (x86) |
| DOSLib19x64.arx | DOSLib for AutoCAD 2013 and 2014 (x64) |
| DOSLib20.arx | DOSLib for AutoCAD 2015 and 2016 (x86) |
| DOSLib20x64.arx | DOSLib for AutoCAD 2015 and 2016 (x64) |
| DOSLib21.arx | DOSLib for AutoCAD 2017 (x86) |
| DOSLib21x64.arx | DOSLib for AutoCAD 2017 (x64) |
| DOSLib22.arx | DOSLib for AutoCAD 2018 (x86) |
| DOSLib22x64.arx | DOSLib for AutoCAD 2018 (x64) |
| DOSLib23.arx | DOSLib for AutoCAD 2019 and 2020 (x86) |
| DOSLib23x64.arx | DOSLib for AutoCAD 2019 and 2020 (x64) |
| DOSLib24x64.arx | DOSLib for AutoCAD 2021 (x64) |
| File | Description |
|---|---|
| DOSLib13.brx | DOSLib for BricsCAD Pro V13 (x86) |
| DOSLib13x64.brx | DOSLib for BricsCAD Pro V13 (x64) |
| DOSLib14.brx | DOSLib for BricsCAD Pro V14 (x86) |
| DOSLib14x64.brx | DOSLib for BricsCAD Pro V14 (x64) |
| DOSLib15.brx | DOSLib for BricsCAD Pro V15 (x86) |
| DOSLib15x64.brx | DOSLib for BricsCAD Pro V15 (x64) |
| DOSLib16.brx | DOSLib for BricsCAD Pro V16 (x86) |
| DOSLib16x64.brx | DOSLib for BricsCAD Pro V16 (x64) |
| DOSLib17.brx | DOSLib for BricsCAD Pro V17 (x86) |
| DOSLib17x64.brx | DOSLib for BricsCAD Pro V17 (x64) |
| DOSLib18.brx | DOSLib for BricsCAD Pro V18 (x86) |
| DOSLib18x64.brx | DOSLib for BricsCAD Pro V18 (x64) |
| DOSLib19.brx | DOSLib for BricsCAD Pro V19 (x86) |
| DOSLib19x64.brx | DOSLib for BricsCAD Pro V19 (x64) |
| DOSLib20.brx | DOSLib for BricsCAD Pro V20 (x86) |
| DOSLib20x64.brx | DOSLib for BricsCAD Pro V20 (x64) |
| DOSLib21x64.brx | DOSLib for BricsCAD Pro V21 (x64) |
Though DOSLib files can be installed in and run from any directory, the following locations are recommended for the AutoCAD environment:
- A directory specified by the "Support File Search Path" (e.g. C:\Program Files\AutoCAD\Support).
- A directory common to multiple users (e.g. Z:\Projects\Support).
- The directory where the application executable file is located (e.g. C:\Program Files\AutoCAD).