From the course: Learning AutoLISP & Visual LISP

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Visual LISP dictionary functions

Visual LISP dictionary functions - AutoCAD Tutorial

From the course: Learning AutoLISP & Visual LISP

Start my 1-month free trial

Visual LISP dictionary functions

- [Narrator] Although we can work with creating dictionaries as non-graphic entities, and just as we've created using text styles and other things, I find the visual list with dictionary methods and functions much simpler to use to store data. So let's look through them, and one of the functions that we're going to look at is the v lax l data put function. This is what stores or saves the data to a dictionary. So, this function and all the visual list dictionary functions store data with the v lax l data functionality, and so for this function, we provide the argument of our dictionary name and so we're going to call this linda dictionary and then we provide a name to the entity or value that we're going to store, in this case, it is my saved value, so there's a name to the value, and then the actual value itself. And so, we go ahead and write this to our dictionary for the drawing when we inspect it. And so it returns the value that we've written to it. Now, to find out the value, we…

Contents