CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.092.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 13683:

Question

CAD 
 %  platform  category 
A
Starting with AutoCAD LT 2024 (and 2025 and higher), it is possible to run LISP applications, commands and files in .LSP, .FAS or .VLX (and .DCL) format in AutoCAD LT. However, LT version has some limitations compared to full AutoCAD in LISP support. Most of the existing LISP applications will work without any problems, but some may end with an error or fail to produce the expected result. Besides the LISP API, AutoCAD LT now supports also the Javascript API.

Thus, of all the Arkance Systems (CAD Studio) LISP applications - see DL Download - most will also work, but some (e.g. Click2XLS, DTM, SureSave...) will have the limitations mentioned below. None of these applications will offer the new version notification in LT.

Limitations

The first type of limitation is the lack of support for external ActiveX objects. For them you cannot use the (vlax-create-object), (vlax-get-object), (vlax-get-or-create-object), (vlax-import-type-library), (vla-GetInterfaceObject) functions. These functions are typically used for online communication, clipboard handling, XML, binary files, Excel, Word, Access (or other database tools), etc. But there may be a workaround for your situation - see the Tip 14007.

E.g the call:

(vlax-create-object "Microsoft.XMLHTTP")

returns nil and the web "communicator" object is not created.

Another, quite logical limitation is working with 3D DWG objects (plus render tools, databases...). These are not supported in LT version and therefore you cannot use (command) to call unsupported commands (or access variables), nor can you create or modify 3D objects via (entmake), (entmakex), (entmod).

E.g. the construction:

(entmake (list (cons 0 "3DFACE")(cons 10 (car triangle))(cons 11 (cadr triangle))(cons 12 (caddr triangle))(cons 13 (caddr triangle))))

returns nil and the entity of type 3DFACE is not created (silent fail, no error is reported).

You cannot access XRecords, used by some LISP applications to store data in dictionaries.

You also can't use Express Tools commands or its libraries or "acet-" functions in LT. Of course, you can't call VBA or ARX or .NET functions either.

Automatic loading of LISP functions from ACADDOC.LSP must be done in the LT version in the ACADLTDOC.LSP file. Also, .MNL files (with CUIx menu files) are not automatically loaded. The LT version does not work with profiles. And there is no AI_UTILS.LSP preinstalled.

Note that the LT version does not have a LISP editor (IDE, the VLIDE command) and therefore no debugger or compiler or linker. You can switch Unicode support though - LISPSYS. You cannot use (vlisp-compile) to compile LSP files either.

You can use the .bundle autoload mechanism in LT (the folder Autodesk/ApplicationPlugins). Don't forget to add Platform="ACADLT" to the RuntimeRequirements section in your PackageContents.xml file.

The AutoCAD LT 2024 for Mac version has no LISP. And AutoCAD for Mac has other limitations - e.g. you cannot use ActiveX functions (vlax-), reactors, etc.

ACLT2025ACLT2024
100% *CAD
1.4.2023    49240×   FAQ   Expert
Share the tip:
Digg it! Del.icio.us Facebook Twitter Google bookmark Technorati StumbleUpon
applies to: AutoCAD LT 2025 · AutoCAD LT 2024 ·

See also:
Tip 14454:How to hide dimensions with zero- or small length?
Tip 14417:Quick calculator on an AutoCAD keyboard shortcut.
Tip 14414:Link geo-tagged photos from your mobile phone to AutoCAD DWG maps.
Tip 14402:What is the difference between the BLOCKREPLACE, BREPLACE, REPLACEBLOCK, RIBLOCK and BLKREDEF commands?
Tip 14399:How can I find out which version of LISP freeware is loaded?


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist