Join Josh Modglin for an in-depth discussion in this video Inheriting a base class object, part of AutoCAD Add-ins Using VB.NET.
- In our last exercise, we began getting introduced,…to object oriented programming a little bit farther.…Where a class is not just a collection,…or a wrapper for our code, but rather,…a class is more an object…that we can assign parameters to,…and routines to, that we can create instances of,…and then accomplish much more with these objects.…But just like with AutoCAD, sometimes you want to,…take advantage of some of the information in one drawing,…and yet have it visually displayed in another drawing.…
And within AutoCAD we do that through xrefs.…But with object oriented programming,…what we're going to do, is we're going to actually,…see how we can pick up the properties of one object,…and feed them or assign them to another.…So let's go ahead and open our project,…and see how we handle inheritance.…Our exercise is Chapter 7.07.02.…Or open up the 07.02 solution and we already have,…in this project, the 07.02 project,…our initialization class, our base object class,…we created in 07.01, we're going to create a new class here.…
- Creating a project using the Autodesk wizard
- Creating classes, command routines, and functions
- Manually creating projects
- Basic .NET functionality
- Working with database properties
- Working with transactions and TableRecords
- Getting a user-specified point and distance
- Creating and inheriting a base class object
- Creating a window interface
Skill Level Intermediate
1. Working with the Microsoft Visual Studio Development Environment
2. Creating Your First Project
3. Basic .NET Functionality
4. AutoCAD ApplicationServices Namespace
Creating a new drawing5m 40s
5. AutoCAD DatabaseServices Namespace
6. AutoCAD EditorInput Namespace
7. Class Object Fundamentals
8. Creating a Window Interface
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.