Join Josh Modglin for an in-depth discussion in this video Using the shared keyword, part of AutoCAD Add-ins Using VB.NET.
- [Narrator] So far we've worked with Objects…and we've seen that we have to create a new instance…any time we want to work with any properties in an Object.…And there are times though that we want to accomplish…a function or some type of, run a routine, or something…similar to that, that's within an Object or a Class…without having to create an instance every single time.…We just want to, again,…we're just using it as a collection of code.…So, we're going to look at a key word that will…help us accomplish that.…
So I'm going to open up our exercise project…that's within our desktop here, exercise folder,…Chapter seven, and we're going to go in the 07-03 solution.…Now this is the same project that we've been working in…in the last two exercises, this is a chapter…focused on object-oriented programming.…I've created a new folder and put all my Object Classes…within that folder, and then if I go inside my…Layer Object Class, it's actually,…this is a file, a .vb file, and you can have…multiple classes within that file.…
- 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.