Delphi / AutoCAD ActiveX Automation

Code Examples and Resources

All material accessable from this page is free for your personal use. However, all of same are copyrighted works*, which are NOT in the public domain. (*see specific exceptions below). You are free to use this material for personal use and in applications you build and distribute, but you may not sell, lease, or mass-redistribute this material, in any form, including electronically. You may not post this material online (including but not limited to web sites, ftp sites, bulletin boards, or any other online service) for public downloading. Feel free to post links to this page on your web site. If you do, please notify me via email.

*Note: The above restrictions do not apply to the file AcVbExt.Zip. This file is the property of Jorge Lopez, of Autodesk ActiveX/COM Development. This file is made availble here only for the convenience of those who may have difficulty finding it on the Autodesk news server. See the contents of this file for conditions of use.

Example: Drawing a circle using both late and early binding

Example: Setting the Active UCS to the WCS or OCS of an object

Example: Early binding & 3DSolids (requires R14.01 & Delphi 3.02)

Example: Attaching Extended Entity Data (XData) to an object

Example (file Sendcmd.zip): Send commands to AutoCAD command line

File: AcConst.pas: AutoCAD ActiveX Automation Constants

File: copydata.zip: ARX utility for sending data to windows apps from AutoLISP

File: inproc.zip: Sample projects that demonstrate in-process Automation controller.

File: AcVbExt.Zip: AutoCAD ActiveX Automation Extensions

File: AcadX.ZIP (A2K+). ActiveX Extension Library

File: AutoCAD_TLB.ZIP  (modified AutoCAD Type Library Import Unit).

File: DEvents.ZIP: Example that shows how to sink AutoCAD VBA events in Delphi

Delphi-based Applications and Components

Building AutoCAD 2000 Dockable Forms with Delphi

AcadX ActiveX Extensions for AutoCAD 2000