From the course: Learning AutoLISP & Visual LISP
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Functions: assoc and subst - AutoCAD Tutorial
From the course: Learning AutoLISP & Visual LISP
Functions: assoc and subst
- [Instructor] We've learned a lot so far in our AutoCAD LISP Fundamentals course. We're going to now take all that we've learned so far, and apply it to creating and editing objects right in the side LISP for our drawing. This chapter that we're going to look at now will focus on graphic entities, such as lines, arcs and circles. The key with creating and editing entities within LISP is being able to work with dotted pairs. We've already seen that the dotted pairs are returned when we look at the entity list data. Understanding what those dotted pairs represent, the group codes that are associated with each entity, is critical. So before we get into really, truly changing the entity, we're going to first look at two list manipulation functions. These list manipulation functions work well with the information that we get with an entity data list. So we're going to go ahead and get our entity, and we're also going to go ahead and not just get the entity name, but the entity data. And…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.