4.47 out of 5
4.47
177 reviews on Udemy

Practical AutoLISP Programming – Beginner to Advanced

This course is your ultimate guide to learning AutoLISP Programming. You will learn by example with lots of programs.
Instructor:
Arnold Higuit
725 students enrolled
English [Auto-generated]
You will understand and learn AutoLISP and how it is being used in AutoCAD
You will have a deeper understanding of AutoCAD objects and how they can be manipulated by AutoLISP without even touching them.
You will learn how to create your own AutoCAD Shortcut Commands and Macros
You will be able to create simple to medium complexity Programs from scratch with the help of several exercises to reinforce what you learn
By the end of this course, you should be able to develop your own programs to increase your productivity. For example: start automating repetitive tasks develop programs that extracts drawing information and many more…
And most importantly, you will become an AutoLISP programmer

You will understand and learn AutoLISP and how it is being used in AutoCAD

You will have a deeper understanding of AutoCAD objects and how they can be manipulated by AutoLISP without even touching them.

You will learn how to create your own AutoCAD Shortcut Commands and Macros

You will be able to create simple to medium complexity Programs from scratch with the help of several exercises to reinforce what you learn

By the end of this course, you should be able to develop your own programs to increase your productivity. For example:

start automating repetitive tasks

develop programs that extracts drawing information and many more…

And most importantly, you will become an AutoLISP programmer

1
Introduction

Discuss the objectives of the course as well as provide overview of AutoLISP Programming and its benefits

2
Course Outline

We will discuss the Course Outline by going through each of the Topics in the list

3
Introduction to AutoLISP

We will discuss about how AutoLISP is being used in AutoCAD.We will identify what type of Programming Language it is and what it can do.

4
Who is this Course for?

We will identify who should learn AutoLISP and why? We will also identify what are the benefits for each type of user.

5
What will I Learn?

We will determine the things that you will gain by taking this course.

6
About the Author

You will get to know who the Author is and his background as an IT Professional.

7
Why Learn AutoLISP?

Further information is provided why you should learn and become an AutoLISP Programmer.

8
Tools

We will identify the Tools that we will use in this course.

Quick Win Demo

1
Create Zoom Command Macros

We will learn how to create our own AutoCAD Commands or Macros using the Zoom Command.

2
Create Layer Command Macros

We will learn how to create our own AutoCAD Commands or Macros using the Layer Command.

3
Create Insert Command Macros

We will learn how to create our own AutoCAD Commands or Macros using the Insert Command.

4
Create Audit Commands

We will learn how to create our own Audit Macros.

AutoLISP Rules

1
AutoLISP Rules

We will discuss few AutoLISP's Fundamental Rules.

AutoLISP Variables

1
Understanding AutoLISP Variables

We will go through different ways to create variables and assign values to them. Also, we will identify what are the AutoLISP's predetermined variables that we should not be changing.

2
Using Variables in a Real World Program - Part1

We will create 2 real world simple programs by calculating the values of the variables.

3
Using Variables in a Real World Program - Part 2

We will create simple programs to create new Layers based on the values stored in the variables.

4
Using Variables in a Real World Program - Part 3

We will create simple programs by using the Pause reserved word (or pre-dertermined AutoLISP variable) by creating a Line.

5
Using Variables in a Real World Program - Part 4

We will create few more programs to demonstrate the use of predefined AutoLISP variable T by using it in a while loop.

AutoLISP Math Functions

1
Math Functions in Theory

We will discuss most of the commonly used Math Functions in AutoLISP with the proper syntax. You will also find the complete reference for all the Math Functions should you need it in your development.

2
Math Functions by Example

We will further reinforce our learning with Math Functions by creating sample programs using the math functions. We will be creating useful conversion programs.

AutoLISP's List Functions

1
List Functions Theory - Part 1

We will discuss the List functions such as "car", "cdr" , "cadr" , "caddr" , "caar" , "cddr".

2
CAR Function - Demo

We'll see how CAR function works in action.

3
CDR Function - Demo

We'll see how CDR function works in action.

4
CADR Function - Demo

We'll see how CADR function works in action.

5
CADDR Function - Demo

We'll see how CADDR function works in action.

6
CAAR Function - Demo

We'll see how CAAR function works in action.

7
CDDR Function - Demo

We'll see how CDDR function works in action.

8
List Functions Theory - Part 2

We'll discuss more List Functions such as "list", "cons", "nth", and "foreach". 

9
list Function - Demo

We will try creating Lists using the "list" function and see how it works.

10
cons Function - Demo

We will see how "cons" Function works in action.

11
nth Function - Demo

We will see how "nth" function works in action.

12
Foreach Function - Demo

We will see how foreach function weorks in AutoCAD

13
List Functions Theory - Part 3

We'll discuss more List Functions such as "assoc", "subst", "last", and "reverse".

14
Assoc Function - Demo

We'll further explore Assoc function by retrieving each of the Line Definition Data.

15
Subst Function - Demo

Subst function in action. We will substitute the layer of an Line entity through the Definition Data.

16
Last Function - Demo

We'll see how Last Function works by getting the last item in the list from the Line Definition Data.

17
Reverse Function - Demo

We will see how reverse function works by using it in the Line Definition Data and reversing the order of the list.

AutoLISP's User Input Functions

1
User Input Functions Theory - Part 1

In this part 1 of the lecture, we will learn the following User Input Functions: getpoint, getint, getstring, getreal

2
User Input Functions Theory - Part 2

In this part 2 of the lecture, we will learn the following User Input Functions: getdist, getcorner, getangle, getkword

3
GetPoint Function - Demo

We will see how GetPoint function works in AutoCAD by drawing a line based on the points picked by the user from the GetPoint function.

4
GetInt Function - Demo

We will try GetInt Function in AutoCAD and see how it works.

5
GetString Function - Demo

Getstring is used to capture user's input. We will see how it works by setting a layer as a current layer based on the value specified by the user.

6
GetReal Function - Demo

GetReal, as the name implies accepts a Real (or decimal) number. We will see how this works in action.

7
GetDist Function - Demo

We will try many variations of GetDist function and see and understand how they work in AutoCAD.

8
GetCorner Function - Demo

In this demo, we will draw a rectangle based on the corner point that we get from the GetCorner function.

9
GetAngle Function - Demo

We will apply the GetAngle function by creating a simple program to draw a text based on the angle specified.

10
GetKword Function - Demo

We will use GetKword function in a simple program by giving the user the Yes/No option to delete the object.

Object Handling Functions

1
Object Handling Functions - Theory

We will discuss all the Object Handling functions and have a good understanding of it.

2
Entsel Function - Demo

We will see how entsel work in AutoCAD by selecting a Line object and selecting only the point or the entity name.

3
Entnext Function - Demo

We will use the entnext function by going through the entire entities in the drawing.

4
Entlast Function - Demo

We will retrieve the last entity in the drawing by using the function entlast.

5
Entget Function - Demo

How does AutoCAD stores the Definition Data of the Objects. All of it will be revealed when we use Entget function in the drawing.

6
Object Handling Functions - Exercises

Try finishing all the exercises to test your knowledge and understanding of the Object Handling Functions in AutoLISP.

7
Object Handling Functions - Solutions to Exercises

Let's now compare your code to the Solutions provided.

AutoLISP's Selection Sets

1
Selection Sets - Theory

We will cover all the Selection Sets Functions and understand how each one works and how to apply them in the code.

2
Ssget Function - Demo

We will see how ssget function works and trying different variations of the command.

3
Ssadd Function - Demo

We will use ssadd function in our code and see the changes in the selection set by adding items in it.

4
Ssdel Function - Demo

We will learn and understand how ssdel works by deleting objects in the selection set.

5
Ssmemb Function - Demo

We will have an example of ssmemb and see how it works in AutoCAD by checking whether an entity is a member of a selection set or not.

6
Ssname Function - Demo

We will see how ssname works in our program and how to get the property of each object.

7
Sslength Function - Demo

We will use sslength in the code and see how we can use it when getting the number of the objects in the selection set.

8
Selection Sets - Exercises

In order to test your knowledge on the selection sets topic, try completing these exercises. This will help you better understand how each of the Selection Sets Functions work.

9
Selection Sets - Solutions to Exercises

Let's compare your code to the solutions provided and see if you get all the exercises correct.

Conditionals and Equality Functions

1
Using If and Progn Statements

We will explore If and Progn Statements and how to use them in the program.

2
Using While and EQ Functions

We will discuss the While and EQ Functions.

3
Using Cond and And Functions

We will explore how Cond and And Statements are used in the program

AutoCAD Objects - Data Model

1
AutoCAD Objects: Re-examined (Part 1)

We will explore the Line, Polyline, Circle, and Text Objects and see their respective object data model.

2
AutoCAD Objects: Re-examined (Part 2)

We will examine the Dimension, Block and Attribute Objects and dig deeper on their data model and learn about the sub-entities.

3
Line Object: Re-examined (Demo)

We will see the actual manipulation of Line Data Model by creating a program to change the starting point.

4
Circle Object: Re-examined (Demo)

We will dig deeper into the Circle's Definition Data and create a program to manipulate the Radius.

5
Text Object: Re-examined (Demo)

We will dig deeper into the Text Definition Data and create a program to manipulate the Text String, Layer and Style.

6
Dimension Object: Re-examined (Demo)

We will dig deep and examine the Dimension Object's Definition Data and create a program to change the Dimension Style.

7
Block/Attribute Object: Re-examined (Demo)

We will dig deeper into the Block and Attribute Sub Entities and create a program to update the attribute values for all the blocks in the drawing.

Symbol Table and Dictionary Handling Functions

1
Symbol Table and Dictionary-Handling Functions - Theory

TBLSEARCH, TBLNEXT and TBLOBJNAME Functions will be discussed.

2
Tblsearch - Demo

We will create a program that uses the Tblsearch function that replaces the style of the Text.

3
Tblnext - Demo

We will have a practical example showcasing the Tblnext function by going through the Layer database and display them all to the user.

Hands-On Projects

1
CDIM - Project

This function will check all the modified dimensions text and change them to red color.

2
CHSTYLE - Project

This project will change the style of all the Texts in the drawing using most of the functions that we've learned from the previous videos and more.

3
EXTATTR - Hands-On Project

This project will extract all the attribute values into a csv formatted file.

Conclusion

1
Conclusion Message and Thank you!

Thank you for enrolling in this tutorial and I wish you all the best in your quest for further learning AutoLISP.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.5
4.5 out of 5
177 Ratings

Detailed Rating

Stars 5
80
Stars 4
56
Stars 3
35
Stars 2
3
Stars 1
3
2e0c3cd72aef212010ae2a17cabd52d7
30-Day Money-Back Guarantee

Includes

8 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion