AutoCAD: Building Add-ins with C#
4h 24mIntermediate2018-09-20
Authors

Josh Modglin
Technical Consultant
Course details
Many companies work to customize Autodesk AutoCAD products to suit their business needs and enhance their overall productivity. In this course, learn how to extend AutoCAD functionality by building a library of functions using the .NET AutoCAD API and C#. Using Visual Studio Community 2017 and AutoCAD 2019, instructor Josh Modglin helps you create a project and build commands that incorporate a graphic user interface. Josh goes over basic C# functionality, discusses how to work with application and database properties, and more.
Learning objectives
Creating a project using the Autodesk Wizard
Creating classes, command routines, and functions
Basic C# functionality, including conditions and strings
Working with AutoCAD application properties
Working with database properties
Working with transactions and table records
Getting a user-specified point and distance
Creating and inheriting a base class object
Creating a window interface
Learning objectives
Creating a project using the Autodesk Wizard
Creating classes, command routines, and functions
Basic C# functionality, including conditions and strings
Working with AutoCAD application properties
Working with database properties
Working with transactions and table records
Getting a user-specified point and distance
Creating and inheriting a base class object
Creating a window interface
Skills covered
AutoCAD2D Drafting and DrawingBIMAutodesk3D ModelingVisualization and Real-TimeAECProduct and ManufacturingAnimation and IllustrationProgramming LanguagesSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Building Add-ins with C# for AutoCAD
1. Working with the Development Environment
- 02 - IDE overview
- 03 - Setting up your environment
- 04 - Introduction to C#
2. Creating Your First Project
- 05 - Create a project using the Autodesk wizard
- 06 - Understanding project properties
- 07 - Class overview
- 08 - Create a class
- 09 - Create a command routine
- 10 - Create a function
3. Basic C# Functionality
- 11 - Using conditions
- 12 - Working with strings
- 13 - Collections and loops
- 14 - How to use error trapping
4. AutoCAD ApplicationServices Namespace
- 15 - Working with AutoCAD application properties
- 16 - Working with the DocumentCollection
- 17 - Working with document properties
- 18 - Creating a new drawing
5. AutoCAD DatabaseServices Namespace
- 19 - Working with database properties
- 20 - Understanding ObjectIds
- 21 - Working with transactions
- 22 - Working with table records
- 23 - Create a line
6. AutoCAD EditorInput Namespace
- 24 - Getting a user-specified point
- 25 - Getting a user-specified distance
- 26 - Getting a user-selected entity
- 27 - Getting a selection set
- 28 - Using input keywords
7. Class Object Fundamentals
- 29 - Creating a base class object
- 30 - Inheriting a base class object
- 31 - Using the static keyword
8. Creating a Window Interface
- 32 - Create a window
- 33 - Binding data
- 34 - Bringing it all together
Conclusion
- 35 - Next steps
Related courses
- Learning FARO PointSense Building
- AutoCAD: Developing A Prefab Unit
- Learning Autodesk Subassembly Composer
- AutoCAD: 3D Architectural Modeling
- Creating Construction Documents with Revit
- AutoCAD Architecture 2021 Essential Training
- BIM Manager: Managing AutoCAD MEP & AutoCAD Civil 3D
- AutoCAD Electrical: Implementing PLCs