OpenDCL AutoCad LT 2024

Started by Christina, September 29, 2023, 12:12:52 AM

Previous topic - Next topic


Are there plans to make OpenDCL work in AutoCad LT 2024 ?


AutoCAD LT does not support lisp,vba,arx,.net, etc.



Indeed, you are right.
I did not know about this.
The LT has lisp 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.

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 for Mac version has other limitations - e.g. you cannot use ActiveX functions (vlax-), reactors, etc.