Foreach in AutoLISP Programming

preview_player
Показать описание
In this session you will learn how to process each element in a list using Foreach function in AutoLISP.
Рекомендации по теме
Комментарии
Автор

Your videos are very much inspiring for AutoCAD programmer, can you please make a video on saving lisp files non editable format.

satydevnegi
Автор

Merci !! Très utile pour mon apprentissage.

claudeboucher
Автор

I have created block and that block I have use as a insert block. For insert block I prefer CUIX.File and VLSIP.
Through CUIX I have set symbol in Autocad ribbon and the same block used through LISP for shortcut command.
When I used through CUIX I got correct block layer properties. I mean I have created in "xyz" layer. Using through CUIX I got the same layer in my new drawing. If even my current layer is 0 but they still put "xyz" layer in my new drawing. This is correct for me.
When I use LISP shortcut command for the same insert block. If my current layer is "ABCD" then block properties has changed automatically. The layer of blocks has changed into current layer.

ibrahimpatel
Автор

Super, as always. thanks for your work.

behruz.anvarovich
Автор

Crystal clear explanation. Thanks.
Dear master, is any command available to get the name of lisp command. That is,
(defun c:xyz()
)
How to get "xyz" as string within this programme?

amnoorulaman
Автор

I have created above program without using if and progn functions it worked and got the same results of coordinates on vertices of polyline. Can you please explain why you used both functions if and progn in your program?

ifty_arain
Автор

In the program, sublist is the defined function or variable.... I am not seeing sublist declared as variable anywhere in the program.... Your method of teaching is very good...

ganemi
Автор

"sublist" word is function or variable which used in lisp?

mesuttasar
Автор

May I get LISP to explode block and make block again with the same name

ibrahimpatel