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.

Funtion: getfiled

Funtion: getfiled - AutoCAD Tutorial

From the course: Learning AutoLISP & Visual LISP

Start my 1-month free trial

Funtion: getfiled

- [Instructor] LISP really doesn't support creating visual user interfaces such as Windows or forums, or even dialogues. Except, you can, of course, work with LISP in another language called DCL. But most of the time, when individuals are trying to create some type of Window user interface, visual interface, they're going to lean more toward a higher or a more powerful coding language, something similar to .NET or VDA. Nevertheless, right inside of LISP we have the ability to create a file dialogue, and the file dialogue with a user will select the file and it will prompt us or provide us back as a value the location of that file. Let's see how this works. I'm going to create a variable called FPATH, and we're going to call the GETFILED LISP function. So, you can see, this abbreviation simply stands for get file dialogue, and it will prompt the user using a dialogue. So, it sets a dialogue, and we don't need to include a new line in our string for the title or the prompt for the user.…

Contents