Use COM to control AutoCAD; When I started that list, I expected it to be longer – but essentially that’s it. If you’re more of a VBA user, you’ll be very pleased to hear that as we’re using COM, you can pretty much re-use all the VBA code you ever learned. So, lets draw a basic shape. Something like below.
2 lectures10:35
In this training, you will possess a higher level review of the program as well as obtain a glimpse of how ánd what AutóCAD VBA is usually. Furthermore, you will get to understand the advantages and benefits of making use of VBA.
Define the Course Articles by setting out every individual section of the program. From setting-up the atmosphere, knowing AutoCAD Object Design to Debugging and Mistake Dealing with.
4 lectures21:37
Discuss the content of the course as nicely as the needs for setting up VBA IDE. Furthermore, identifying the variations of AutoCAD that needs separate set up of vBA IDE Element.
Walkthrough the process of installing the VBA IDE Element from Autodesk site and setting up it.
VBA IDE Parts will become discussed in detail by mentioning their particular utilization and reasons in relationship to your development expertise.
ldentify and Undérstand VBA IDE Elements (Toolbars and Windows)
Wé will analyze each of the IDE Elements to find out and know how to make use of them in our programming as properly as know their features and utilization that can become very helpful during code advancement.
Preview14:04
2 lectures12:36
We will explore the VBA Object Model Structure and know how the items relate to each additional and how to make use of and simply utilize them in thé code. We wiIl go through various programs to show how they are being used by heading through some óf the AutoCAD Items collections.
This is definitely a continuation of the prior training where we further examine some of the AutoCAD Objects collections. By the end of this section, you should be comfortable making use of them and work with those items with ease.
2 lectures15:35
This video clip will clarify what are the data types to be kept in a variable and how to announce them. Furthermore, this video explains how to consume, concatenate and view values of the variables.
This video clip will walk you through how to make use of factors with different data forms. You will find 5 various applications that covers every individual datatypé.
9 lectures01:05:36
This video clip provides the higher level overview of different handles and put together the listing of Controls to become explored more and discover how they function in activity.
This video explores the Content label, Textbox and CommandButton Handles in a simple system. It also describes the User Form and display you how to perform with the Handle's Qualities.
This video will display you how to make use of the ListBox Control and how it gets filled with all the layers in the painting.
This movie will display you how to use the ComboBox Control. You will furthermore find out how to get the LineTypes in the drawing as it can be being included in the ComboBox Handle.
This movie explores and points out the use of CheckBox Control in a program.
This short training explores the OptionButton Handle and examines its utilization with the CheckBox Handle.
This video explores the MultiPage Control in details and uses it in the illustration program to create an Review Type Review for all the Accessories and Doorways in the pulling in.
This video clip can be a extension of the prior one and stretches its features by developing another page for Electrical Elements.
Framework Control is usually extremely useful in grouping different controls in a single pot. This video clip will display you how to make use of it when you are designing the type.
6 lectures23:07
Lists and describes the different problems and choices and workers (both Conditional ánd Logical) that wiIl become explored further in the coming video clips.
This video clip will display you how to use the if-then-else situation in the real program making use of the InputBox to get worth from the consumer's insight.
Sometimes there are more situations in the program. This is usually where thé if-then-eIseif condition arrives in. This video clip will show you how to make use of it by validating/looking at the object type chosen from the drawing.
Preview03:43
This movie will display you how to use different conditional employees in an actual plan. You will possess a great knowing how those conditional workers function and how to use them appropriately.
There are cases where you have got to validate the plan in even more than one condition. This is certainly where the reasonable operator works. This movie will display you how to use AND, OR and NOT employees.
Another way of handling different problems is definitely by making use of Select Situation Declaration. This movie will display you how to make use of it in the program.
5 lectures13:11
This movie clarifies the 4 methods of using Looping and lterations in your plan. You will have a high level understanding on those 4 different ways.
This video clip will show you how to make use of the Do-While Loop in the program by looping through the items in the AutoCAD drawing. You will learn how to cycle through the choice set mainly because well as how to make use of the countertop.
This video clip will show you how to use the Do-Until cycle and explain the distinctions with the Do-While Loop.
This video will display you how to make use of the For.Following Loop. It will be the simplest type of Iooping in VBA ánd you will see it in action.
This is usually a extremely interesting movie where you will discover how to make use of the for-éach-next looping framework by heading through each of the Coating in the AutoCAD Dictionary. Also presented is certainly how to cycle through the LinéTypes in the drawing.
Critique03:02
6 lectures26:03
This movie provides a higher level summary of objects to be attracted in this section.
This video will display you one way of sketching a Line object structured on 2 points that uses the Getpoint functionality.
Survey03:10
This video clip will walk you through how to get insight from the consumer. Furthermore, you will learn how to validate the values inserted. You will find out lots of programming strategies from this video.
This movie will show you how to draw a circle by making use of the Getpoint and Getreal Energy functions.
This video will display you how to attract a Text message item by obtaining the ideals from the user's input making use of Getstring, Getpoint and Getreal Energy functions.
This video will display you how to pull both Light-weight and Heavyweight PoIylines. You will also find out how to announce an variety of increases that will be used as a storage for the vértices.
3 lectures15:15
This video provides you the higher degree overview each topic to become protected in this area.
In this video clip, we will walk through the real code debugging making use of the full software to attract a text structured on the user's input. You will also learn how to make changes on the Form control based on the user's motion.
This is a continuation of prior movie. This also display you how to make a separate sub technique by contacting it from the Click occasion code produced by the form. You will also understand how to phase through/over/óut of the codé.
2 lectures14:37
This movie lists most of the various methods of dealing with mistake in VBA. This also outlines the types of error that VBA have. The Err object is also described.
This video will walk you through the process of handling mistake and how tó remediate or repair them as soon as came across. This will also give you some method on how to acknowledge or validate consumer's input.