Training > AutoCAD VBA, ActiveX Automation, AutoCAD Customization using VB

Introduction



AutoCAD ActiveX provides a mechanism to manipulate AutoCAD programmatically from within or outside AutoCAD. Visual Basic for Applications (VBA) is an object oriented programming environment designed to provide rich development capabilities similar to those of Visual Basic.

Use of VBA for AutoCAD customization gives following advantages.:

  • The Visual Basic programming environment is easy to learn & use.
  • Dialog box construction is quick & very easy.


Syllabus:


  • Overview of AutoCAD ActiveX Technology
  • Overview of AutoCAD Visual Basic for Applications(VBA) Interface
  • Getting Started with VBA
  • Understand Embedded and Global VBA Projects
  • Organize Your Projects with the VBA Manager
  • Handle Your Macros
  • Edit Your Projects with the VBA IDE
  • ActiveX Automation Basics
  • Control the AutoCAD Environment
  • Open, Save, and Close Drawings
  • Draw with Precision
  • Prompt for User Input
  • Access the AutoCAD Command Line


  • Create and Edit AutoCAD Entities
  • Create Objects
  • Work with Selection Sets
  • Edit Objects
  • Use Layers, Colors, and Linetype
  • Save and Restore Layer Settings
  • Add Text to Drawings
  • Add Dimensions and Tolerances
  • Customize Toolbars and Menus
  • Work in Three-Dimensional Space
  • Define Layouts and Plot
  • Advanced Drawing and Organizational Techniques
  • Develop Applications with VBA
  • Interact with Other Applications and Windows APIs