The ActiveX Developer's guide provides you with an overview of the main topics and workflows for using the AutoCAD ActiveX Object Library and the Microsoft Visual Basic for Applications Integrated Development Environment.
Tutorials
Fundamentals
- Introduction
-
AutoCAD Visual Basic for Applications Interface
AutoCAD ActiveX and VBA Together
- Getting Started with VBA
-
Embedded and Global VBA Projects
Organizing Your Projects with the VBA Manager
Editing Your Projects with the VBA IDE
- Develop Applications with VBA
-
Running a VBA Macro from a Toolbar or Menu
Automatically Loading a VBA Project
Automatically Running a VBA Macro
Automatically Opening the VBA IDE Whenever a Project Is Loaded
- Resources
Basics
- Using ActiveX Automation
-
Accessing the Object Hierarchy
- Controlling the AutoCAD Environment
-
Opening, Saving, and Closing Drawings
Controlling the Application Window
Controlling the Drawing Windows
Setting and Returning System Variables
Accessing the AutoCAD Command Line
- Creating and Editing Entities
-
Assigning Layers, Colors, and Linetypes to Objects
- Adding Dimensions and Tolerances
-
Dimensioning in Model Space and Paper Space
Intermediate
- Working in Three-Dimensional Space
- Drawing and Organizational Techniques
- Defining and Plotting Layouts
- Registering Events
-
Handling Application Level Events
Advanced
- Customize Toolbars and Menus
-
MenuBar and MenuGroups Collections
Creating and Editing Pull-Down and Shortcut Menus
- Interacting with Other Applications and Windows APIs
-
Interacting with Visual LISP Applications