Join Josh Modglin for an in-depth discussion in this video Create a function, part of AutoCAD Add-ins Using VB.NET.
- [Instructor] In our last exercise,…we created a routine that was connected…to a command, method attribute.…So, in other words, this command method,…or this attribute, this call to the AutoCAD API…made it a command that showed up in the AutoCAD window…when we loaded our software,…and then it ran that routine, it was really neat,…but what we really created was what's called a method.…A method is called by saying public sub…and then the name of the method,…and a method only is an action.…
Once the action's done,…you don't know what was really done,…there's no resulting deliverable given back to you.…At times, you are wanting to get more information…and so we're going to create a different routine…called a function…and see how we're able to…really work one off the other,…and the differences between them.…And so, we're going to open up in our Desktop,…under our Exercises, Chapter Two, 02-06,…and we're going to go to the 02-06 solution.…
We see our command-line, our command method there,…and it's sub, it's an action, it's a method.…
- 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.