Skip to main content

Posts

Using AutoCAD DLLs in Visual Studio with .NET

Integrating AutoCAD with .NET technology allows developers to create custom applications to automate and enhance workflows in AutoCAD. To achieve this, specific DLL files must be imported into Visual Studio to interact with the AutoCAD API. This article provides a step-by-step guide on how to set up your development environment. Essential DLLs for AutoCAD API To develop an AutoCAD application using .NET (C# or VB.NET), you need to add references to the following essential DLL files: AcMgd.dll – Provides classes to interact with the AutoCAD application and its user interface. AcDbMgd.dll – Contains classes for manipulating drawing objects stored in a DWG file. AcCoreMgd.dll – Includes classes for advanced functionality such as the AutoCAD editor, printing, and custom commands. These DLL files are located in the AutoCAD installation directory and are necessary for developing plugins or automating tasks.   Adding AutoCAD DLLs in Visual Studio Step 1: Open Visual Studio and Crea...
Recent posts

A Message from the Founder

  A Message from the Founder Welcome to our website! I’m excited to have you here in this space dedicated to programming with Autodesk products such as AutoCAD, Revit, Robot, and many others, using .NET. As a passionate software developer and enthusiast of architecture, I created this site to share my knowledge and experience with you, whether you are a beginner or an expert in the field. The goal of this site is simple: to provide you with all the resources you need to master the integration of Autodesk products with .NET. Here, you'll find code examples, tutorials, tips, and practical advice to help you make the most of Autodesk’s powerful APIs. Why Autodesk and .NET? These tools are widespread in the architecture, engineering, and construction industries, and their potential for customization through APIs is immense. With .NET, we can automate tasks, streamline workflows, and create custom solutions that meet the specific needs of users. My aim is to build a community of develop...