I can't explain my feelings after learning through this session it means a lot to me. From today i am your student. And you are my Guru. Thank you so much for this teaching.🙏
Best and Correct way of teaching Lisp....Very Clear Step by step Explanation....I learnt lot from your tutorial...Please post more videos like this....Thank you...
Hi Prabhu, I really enjoyed learning AutoCAD from your videos. Your explanations are very clear and easy to understand. Also, I like how you add tips and tricks to your examples from time to time. Thank you for the effort you put into making the videos. Cheers!🙏🙏🙏
time table @2:46 how to write lisp expressions @6:05 how to store a value in a variable @7:28 how set a variable @9:24 reading the value of variables @11:07 setq function explained @13:28 booting visual lisp @15:42 show the output of a variable from autolisp to autocad( princ alert getint ) @22:30 how to read a point @25:14 the structure of a lisp program @29:40 how to write a comment in the code @31:06 a function to measures the distance between two points @38:05 how to use strings @39:30 how to display the output in the drawing hope its helpful to you guys and have fun learning
I try this code , (defun c:pdist() (setq p1 (getpoint "pick first point") p2 (getpoint p1 " pick next point") d (distance p1 p2) ) (command "text" p1 250 0 (rtos d))
) but don't know why after running text command will have error,it let me to select insert point,input text high and angel then text content, AUTOCAD 2015
Great Tutorial! Question from me as a beginner: "Why don't you declare your variables as local?" I mean: (defun c:my_function ( / var1 var2 var3)) instead of (defun c:my_function ())
Hello sir, I'm trying creat lsp but I'm not able sir Please suggest me ho to creat units converter lisp For example I enter 1.1 units and Autocad Draw 1.0623 If i enter 1.2 units and Autocad Draw 1.125 units If i enter 1.3 units and Autocad Draw 1.1875 units Example x+(X.0625) If i enter length 2.1 and Autocad draw 2.0625 It's possible sir..?
Great!!!...I have a cuestion. Its posible set Constraints by AutoLISP in the Model or set Actions/Constraints in Block Editor?...(Sorry for my English, I am not speaking well this languaje)
I wrote the code as u have shown.,it says select first point then select next point when I select second point it says enter text,when I enters anything it appears and at at 45 degrees . Can u identify the reason for it
Sir I want to thank you for the outstanding tutorial of AutoLISP. I am currently on 25:48 and I want to ask you what is the meaning of c: in defun function? Also after defining the function name, you add two brackets. What does it do?
Thanks for valuable lesson, great teaching ability. And I think it's taking more time instead of simply drawing. Please say any application of this autolisp and how can we easily customise??
Than you for the nice vedio your explanation is very good but actually it will get difficult after 30 minutes due to the inclusion of the lot of function if you make some of the vedios on function (rtos, distance etc) please make separate vedios.
Hi to all. I really appreciate the videos uploaded to this channel and so I wanted to ask if anyone has any idea how we could use AutoLISP to design a water supply and sewerage system in our floor plan. Thanks in advance.
Sir plz check my progress of nested while loop the code is here below... (defun c:cc() (setq p1(getpoint " Enter the center point of the circle:") r 1 d 10 ) (setq s 1) (while (
Hi CyberCad , please can you point to me where is my mistake (defun c:testbox () (setq len (getreal " lenght of the box: ")) (command "box" '(0 0 0) '(len 18 800) ) ) If I write any number instead of variable len , it draws the box , otherwise it says "bad function ....."
(defun c:testbox() (setq len (getreal " lenght of the box: ")) (command "box" '(0 0 0) (list len 18 800) ) ) "If you want to use a variable in a list, do not use single quote before list, but write LIST in side brackets as shown."
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.
(if (not(tblsearch "layer" "Reccs1")) ;; check if the drawing not existing the block name (progn (vl-cmdf "-insert" "Recc3" "0.0,0.0,0.0" "" "" "") ;;inserts your master file from some defined file path (vl-cmdf "._erase" "l" "") ;;erases the block; last inserted ))
(if (setq insertPoint (getpoint " pick point:")) (vl-cmdf "-insert" "Reccs1" pause "1" "1" "0") ;;inserts the block you want from the master file ) (princ) )
Alright I've looked on just about every AutoCAD help site. How the heck do you get spaces in your command line if (SPACE)=(ENTER). Is there a way to change this.
Nice explanation and very clear and thanks, I have got a direct solution to my problem as I want the text and calculated area for my AutoCAD designed rooms. Thank you again
Hi cyber cad, Thank you for your class. It’s very useful to me . I am so happy to watch your video . Please upload more lisp programs... Thank you😍😍😍.....
I have never used that software. But for other 3D CAD software, you can try to extrude along with the command. But if the software you are using is a "smart" software, the extruded solid won't be able to show any parameters. For some software, such as Bentley Openplant Modeler, BRCM, there is built-in command in them. Maybe try to find similar commands in BricsCAD.
I can't explain my feelings after learning through this session it means a lot to me. From today i am your student. And you are my Guru.
Thank you so much for this teaching.🙏
Thank you. Please share to your friends.
@@cyberCADsolutions Sure Sir I will.😊
Excellent tutorial! Really nice step-by-step clarifying how the LISP-commands work, what the syntax is and why.
Syntax means the way of writing program statement.
Best and Correct way of teaching Lisp....Very Clear Step by step Explanation....I learnt lot from your tutorial...Please post more videos like this....Thank you...
Thank you. Please share to your friends.
Hi Prabhu, I really enjoyed learning AutoCAD from your videos. Your explanations are very clear and easy to understand. Also, I like how you add tips and tricks to your examples from time to time. Thank you for the effort you put into making the videos. Cheers!🙏🙏🙏
Thank you. Please subscribe and share.
Thank you so much; these tutorials helped me build what I exactly needed to optimize my workflow in a couple of hours.
Thank you. Please share with your colleagues.
Way of teaching was Splendid. Tutorial is very comprehensive and well explained, Thanks a lot Sir.
Thank you. Please share to your friends and colleagues.
time table
@2:46 how to write lisp expressions
@6:05 how to store a value in a variable
@7:28 how set a variable
@9:24 reading the value of variables
@11:07 setq function explained
@13:28 booting visual lisp
@15:42 show the output of a variable from autolisp to autocad( princ alert getint )
@22:30 how to read a point
@25:14 the structure of a lisp program
@29:40 how to write a comment in the code
@31:06 a function to measures the distance between two points
@38:05 how to use strings
@39:30 how to display the output in the drawing
hope its helpful to you guys and have fun learning
All the best. Please share.
@@cyberCADsolutions thank you sir for the beginner friendly auto-lisp video and will do my best to promote these helpful videos
Very helpful, could u share the list of key words u sayed u would in the video, tnx
man, what a great tutorial ..respect
Thank you. Please subscribe and share
Awesome....Very clear explanation. Great Work !!!
Thank you sir
carefully planned tutorial, keep it up
This is a great video sir. Thank you !
it is a great tutorial. thanks for your effort.
Thank you. Please share.
Informative video bro thanks
very very very help full bro..... thanks very much...Are you lesson in hindi?
Excellent tutorial. Thanks
Thank you. Please share to your friends.
I try this code ,
(defun c:pdist()
(setq p1 (getpoint "pick first point")
p2 (getpoint p1 "
pick next point")
d (distance p1 p2)
)
(command "text" p1 250 0 (rtos d))
)
but don't know why after running text command will have error,it let me to select insert point,input text high and angel then text content, AUTOCAD 2015
Like it......very useful
Thank you. Please share to your friends.
Very good
Thanks
I understood
Thank you. Please share to your friends.
sir very good explanation thank you.
Thank you. Please share to your friends.
can you create a lisp for me in which 3d solid for the many boundaries can be created from Civil 3D surface.
visual lisp is belong which type of language like java, c++, visual basic or other>
Great Tutorial!
Question from me as a beginner: "Why don't you declare your variables as local?"
I mean: (defun c:my_function ( / var1 var2 var3)) instead of (defun c:my_function ())
Yes, We have to localise all variables, so that they will be cleared up from the memory at the end of the program.
Thanks alot my autocad 2022 could not load vlisp or vlide... can you help me?
Dear Sir,
Could you please suggest book to learn this program.
ABC of AutoLISP by George Omura.
Explained nicely
Thank you. Please share to your friends and colleagues.
Hello sir can you make me for lock object lips with password i will pay for this
sir i want save command autolisp file for popup coming for save file how to create please help
I started writing autolisp code in 1987, is it still around??
Dear Sir,
your video very helpful.
Sir,
I need contour volume quality autolips.
Hello sir,
I'm trying creat lsp but I'm not able sir
Please suggest me ho to creat units converter lisp
For example
I enter 1.1 units and Autocad Draw 1.0623
If i enter 1.2 units and Autocad Draw 1.125 units
If i enter 1.3 units and Autocad Draw 1.1875 units
Example x+(X.0625)
If i enter length 2.1 and Autocad draw 2.0625
It's possible sir..?
time table
@29:11 write a lisp to put room dimensions inside it as a text
Thank you so much. This's very important programme for Autocad users. please do more videos.
Thank you. Please subscribe so that you will get notification. Please share to your friends and colleagues.
thank you sir, Can we calibrate dimensions ?
Really very easy way of teaching. Excellent
Thank you. Please share to your friends.
Great!!!...I have a cuestion. Its posible set Constraints by AutoLISP in the Model or set Actions/Constraints in Block Editor?...(Sorry for my English, I am not speaking well this languaje)
How to import export values to excel
We can’t import or export values to excel.
Just use format .csv file(look like excel but not)
Can you make lisp command for me
I wrote the code as u have shown.,it says select first point then select next point when I select second point it says enter text,when I enters anything it appears and at at 45 degrees . Can u identify the reason for it
Sir I want to thank you for the outstanding tutorial of AutoLISP. I am currently on 25:48 and I want to ask you what is the meaning of c: in defun function?
Also after defining the function name, you add two brackets. What does it do?
Please watch all the videos. You will come to know.
@@cyberCADsolutions you have explained what all i ask there, right? thank you sir 🙏
@@cyberCADsolutions you have explained what all i ask there, right? thank you sir 🙏
In Autocad based on G line, how to draw offset points with adjoining by line in autolisp, do u know how it prapare explain in video sir
I enjoyed your video
I had one query how to use mixed function in one list
Eg:(2*b +c+a-b) in lisp
Use brackets. LISP follow ODMAS rule.
excellent
Many many thanks. Please subscribe and share.
Sir Pls i want LS profile lisp
I set wipeout frame to 2. But it will reset to 1 automatically when file is reopened. people tole me is one of those autolisp problem
Thanks for valuable lesson, great teaching ability.
And I think it's taking more time instead of simply drawing. Please say any application of this autolisp and how can we easily customise??
This is the main question. But he did not reply of this question.
Hi i have Question how to read csv file in auto lisp please any sugestions
Air, is there any possible to relate one dimension to other. If change one dimension value continually changed related dimension
This is a great video sir. Thank you !
Thank you sir. Please share to your friends.
You forgot to put p3 inside your p4 line which is why you don't get the rubber band when selecting your dimension at 44:14.
Than you for the nice vedio your explanation is very good but actually it will get difficult after 30 minutes due to the inclusion of the lot of function if you make some of the vedios on function (rtos, distance etc) please make separate vedios.
Awesome ( adil from Sudan)
Thank you very much sir for such a detailed video.
Thank you. Please subscribe and share
Excellent Tutorial very well and carefully explained THANKS
Thank you. Please share to your friends.
Sir I want to draw two circles by clicking command once on line two ends
You are god for me
Hi to all. I really appreciate the videos uploaded to this channel and so I wanted to ask if anyone has any idea how we could use AutoLISP to design a water supply and sewerage system in our floor plan.
Thanks in advance.
兄弟,你口音怪怪的,最好加上字幕哎。
Great Work!!
hi dude .tnx , how to convert lisp to FAS for load in autocad?
(vlisp-compile 'st "myLisp.lsp")
Can u continue new vedios auto lisp..Great work❤
Thank you. Please share with your colleagues and friends
sir it does not show 00 in the decimal places if number is 25 10 12 some thing like this. i want to show 12 as 12.000
set LUPREC = 3
Sir how can i write it in the program??
Where to write set LUPREC=3??
@@DDX01 AutoCAD command prompt.
Sir plz check my progress of nested while loop the code is here below...
(defun c:cc()
(setq p1(getpoint "
Enter the center point of the circle:")
r 1
d 10
)
(setq s 1)
(while (
Dear Sir,
Could you please suggest a book to learn this program.
ABC of AutoLISP by George Omura
ABC of AutoLISP by George Omura
The best lisp book (not autolisp) is 'a gentle introduction to symbolic computation' by David touretzky.. :) I think it's also free on-line..
Hi CyberCad , please can you point to me where is my mistake
(defun c:testbox ()
(setq len (getreal "
lenght of the box: "))
(command "box"
'(0 0 0)
'(len 18 800)
)
)
If I write any number instead of variable len , it draws the box , otherwise it says "bad function ....."
(defun c:testbox()
(setq len (getreal "
lenght of the box: "))
(command "box"
'(0 0 0)
(list len 18 800)
)
)
"If you want to use a variable in a list, do not use single quote before list, but write LIST in side brackets as shown."
Please make more videos over Lisp programming
yaa. sure my friend. I will try my best. Please share the videos to your friends.
how to reduce or increase size of text in a program?
Thank you sir, i want print programm
awesome sir i want more video from you.
How to store value in variables that call next time.
Sir this video all tamil available yes or no sir
No
Thanks !!!
Thanks. Please share.
very good explanation.pl bring some more lessons
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.
VLISP
(defun c:RECCS2 (/ blockName fileName insertPoint )
(setq blockName "Reccs1"
fileName "C:\Desktop\To be check\Recc3.dwg")
(if (not(tblsearch "layer" "Reccs1")) ;; check if the drawing not existing the block name
(progn
(vl-cmdf "-insert" "Recc3" "0.0,0.0,0.0" "" "" "") ;;inserts your master file from some defined file path
(vl-cmdf "._erase" "l" "") ;;erases the block; last inserted
))
(if (setq insertPoint (getpoint "
pick point:"))
(vl-cmdf "-insert" "Reccs1" pause "1" "1" "0") ;;inserts the block you want from the master file
)
(princ)
)
CUIX
^C^C-insert;Recc3;\;;;explode;last;-purge;Blocks;Recc3;N;
Plz Uploaded PCB design related lisp code.
Hlo
it work on my pc thx bro vеry much
Thank you. Please share to your friends and colleagues.
I want to contact you sir
HELLO. How can I have the VLIDE working in my autoCAD. I am using AutoCAD 2023. the softwares are not predownloaded
Check on Autodesk website
Alright I've looked on just about every AutoCAD help site. How the heck do you get spaces in your command line if (SPACE)=(ENTER). Is there a way to change this.
Try this: \s
Really Great video.... A must watch if you want to take your AutoCAD skills to the next level
Thank you. Please share to your friends and colleagues.
Sure sir
Nice explanation and very clear and thanks, I have got a direct solution to my problem as I want the text and calculated area for my AutoCAD designed rooms. Thank you again
Thank you. Please share.
Your teaching of AutoLISP is truly motivating!
Keep up the great work! 😊👍
Thank you! Will do! Please subscribe and share.
I want ask some douets with u
Hi cyber cad, Thank you for your class. It’s very useful to me . I am so happy to watch your video . Please upload more lisp programs...
Thank you😍😍😍.....
Thank you. I am sure, I will upload more videos. Please share to your friends.
How to enable VLIDE command ?
Excellent
ruclips.net/video/bBep15gyTl0/видео.html
Thank you sooo much..
Thank you. Please share to your friends and colleagues.
Give me notes sir
In strcat, i want next string in a new line, how to do it?
Add back slash n between to get new line
@@cyberCADsolutions (STRCAT P1 "/N" P2)? DOES IT RIGHT ?
Nice tutorial
Thank you. Please subscribe and share
Awesome bro deep knowledge. But plz make tutorial on sheet set with title block & how smartly sheet set integrate with block
second session uploaded. please check.
Hello sir where to run these programs
In Autocad only
Is there any difference between LISP and auto Lisp
it is very helpfull for me thank you for sharing this video I hope to sharing more autolisp program in youtube
Thank you, please share to your friends.
I seen all 7 videos very useful, now need of input form, store database n excel import export is required
I will try to upload that video asap. Thank you. Please share to your friends.
Hey I want a tool for converting Line into Pipe in BricsCAD, Can anyone help me
I have never used that software. But for other 3D CAD software, you can try to extrude along with the command. But if the software you are using is a "smart" software, the extruded solid won't be able to show any parameters. For some software, such as Bentley Openplant Modeler, BRCM, there is built-in command in them. Maybe try to find similar commands in BricsCAD.
thanx
Thank you. Please share to your friends.
Simple and very useful
Thanks
Thank you. Please share to your friends and colleagues.
Superb Sir!! Nice explanation with illustration
Thank you, please share to your friends.
Auto lisp available in cents..??
Cents=sq÷40.47
Plz write a program for edited dimension shows in a different color.
Sure my friend. Please share my videos.