Figures I click this link after I ask the question about why this happened! I have a question though. Is there something like call back functions? So instead of having to set the attdia back and forth, can there be a function that wraps around all the required commands and then returns attdia back to off?
@ATCCAD15 күн бұрын
Kind of... but not really. You can call functions and pass values without any problem, the issue is the way that lisp throws an error when you exit a loop. I haven't done a video on error handling yet, but writing a costom error function would potentially have been a better place to put the system variable reset.
@NavySturmGewehr15 күн бұрын
@@ATCCAD Thank you for the reply! I have a little bit of javascript experience and I keep wanting to simplify things and lisp doesn't seem conductive to that thought process. I'm in an autocad course right now, is there decent money in building dynamic blocks and custom commands for clients?
@ATCCAD15 күн бұрын
@NavySturmGewehr That's something that I do, but I'll admit it's a very small portion of my revenue. Back in the day, I made highly custom AutoCAD builds, but then Electrical Desktop came out.
@NavySturmGewehr16 күн бұрын
I had a bit of a weird problem with this. I set up a text style and it broke the counter. now the counter only puts up the number 0.
@ATCCAD16 күн бұрын
In the next video in this series I found this potential bug and fixed it!
@maurat635821 күн бұрын
Me encato este video! I really liked it!
@ATCCAD21 күн бұрын
¡Muchas gracias!
@gocreate1039Ай бұрын
Nice presentation!
@ATCCAD29 күн бұрын
Thank you!
@bac853Ай бұрын
Very useful!! However is there any way to implement bigger numbers? It says that the biggest number is 32767
@ATCCADАй бұрын
Wow! I didn't expect anyone to reach the end of the integer range! While integers can be larger (+/-2,147,483,647) the getint function is limited to 16 bits, a range of -32767 - 32767. In order to ask the user for an integer larger than that, you need to use getreal or getstring and then convert the value into an integer inside the function using something like (setq myInteger (atoi userString)) Using this means you'd have to check for a failed conversion in case the user typed "Bob" instead of 1,234,567
@jokerqarabagazrbaycandr93842 ай бұрын
❤
@rezatalakoobi80292 ай бұрын
Thanks. could you please provide us the video regarding the automation of drawing symbol with attributed excel description: for example in excel description tree : we can automatically see trees on the drawing based on the imported pointdata.
@ATCCAD2 ай бұрын
Generally, Civil 3D is used for this. In regular AutoCAD you would need to use a LISP routine. Which method would you like a video about?
@rezatalakoobi80292 ай бұрын
I am looking for a method to automate repetitive tasks in AutoCAD. Specifically, I would like to use a script or Dynamo to automate drawing tasks based on survey point descriptions from an Excel file. For example, I want the software to automatically draw a line between points A and B when the description indicates "edge of pavement," rather than manually drawing each line one by one. Additionally, if a survey point is labeled as a traffic light, I would like the script to automatically place a traffic light symbol at the specified locations in the drawing. Do you have any suggestions or resources that could help with this? Best regards,
@ATCCAD2 ай бұрын
@rezatalakoobi8029 gotcha! Off the top of my head, I don't know how to do this in plain AutoCAD. Mainly because Civil 3D does this natively, so I've never needed regular AutoCAD to do this. It should be quite possible, in fact I'm working on a different video to do something very similar using astronomy data (gotta have some reason for light years to exist in AutoCAD!) It will be part of my LISP series, so keep an eye out for it! And let me know if another video explaining how to use Civil 3D to do this would also be helpful.
@RoniePiedad2 ай бұрын
I really have repetitive task in AutoCAD like creating and placing doors in each walls. In Revit that's already built-in. Can you make a video about it using AutoCAD instead?
@ATCCAD29 күн бұрын
Generally, I'd recommend that you look into using the Architectural toolkit. This is a free add-on if you have an AutoCAD subscription, and it behaves a LOT like Revit. That said, a way that you can do this with AutoCAD 2D drafting would be to add wipeouts to your door blocks so AutoCAD automatically hides the walls when you place a door. I'm thinking about a video on this subject, so stay tuned!
@winthanttun58142 ай бұрын
Thank you for posting this! Very useful.
@ATCCAD29 күн бұрын
Glad it was helpful!
@dissatisfiedcitizen39042 ай бұрын
9 out of 10 times this doesnt work.
@ATCCAD2 ай бұрын
Interesting... Would you be willing to post what you're trying to do? I'd be happy to help and see if there is a typo.
@Lisp_structural_designers3 ай бұрын
Great work
@ATCCAD3 ай бұрын
Thanks! I hope it helped you
@ibrahimmomani94513 ай бұрын
Davin! What a presentation! I can't express how good that was! Never stop please, CAD users around the world need a talent like yours! I'll certainly recommend your services for any company that is looking for training. I train in one to one classes, but, your voice and structure of presentation is on another level. I'm lucky that you're my first AutoLISP instructor. Clear and to the point
@ATCCAD3 ай бұрын
Thank you so much!
@asadm10243 ай бұрын
Marvelous, nice Tutorial❤
@ATCCAD29 күн бұрын
Thank you! 😊
@asadm102429 күн бұрын
@ATCCAD you are professional in cad, thanks for teaching us,
@viniciusbraga58463 ай бұрын
Cool video ! I always did it the hard and dumb way lol I will try your way, thanks
@ATCCAD3 ай бұрын
That's great! I hope it saves you a lot of time 😁
@umaryusuf25254 ай бұрын
Nicely explained.
@ATCCAD29 күн бұрын
Thank you 🙂
@ATCCAD29 күн бұрын
Glad you liked it
@mmurrell73294 ай бұрын
Davin, thank you for these videos. Possible TLDR; I began with Microstion in the late 80's (Loved it!). Forced (kicking and screaming) into ACAD early 90's. Made the best of ACAD by learning customization, LISP and some VBA. Switched to BricsCAD when the subscription debacle began, and for my own business (again Love it). Fate, karma or just luck now has me on AcadLT 2024. Thank the gods, it now supports LISP. Your videos are helping me get back into the nuances of AcadLT. Much appreciated!!!! Furthermore, I absolutely enjoy your style of instruction / narration - no fluff, down to business, and is what it is. In the end, CAD is CAD; at least between ACAD vs Brics. ACAD has Dynamic Blocks; BricsCAD has the QUAD cursor. If I could only combine the two....... I look forward to more of your content. Again, thank you!!!!!
@ATCCAD4 ай бұрын
Thank you for your nice comment! And also thank you for teaching me about the quad cursor. I've never used BricsCAD before. I may have to play around with it It reminds me a bit of Microstation. You are definitely right, CAD is CAD. And I'm also super happy that LT had Lisp now too! Thanks again!
@user-io2vr2zr6o5 ай бұрын
Thks a lot!
@ATCCAD5 ай бұрын
I'm glad you liked it!
@lasseoable5 ай бұрын
I won't be able to activate the rotation option, what is happening?
@ATCCAD5 ай бұрын
The rotation option doesn't show up until after you click the first corner of your rectangle. (Also, for AutoCAD for Mac users you can't click on the option, but you can type "R", or right-click to access that option)
@lasseoable5 ай бұрын
Great, quick manage!
@ATCCAD5 ай бұрын
Thanks!
@asadm10245 ай бұрын
One word " perfect "
@ATCCAD5 ай бұрын
That's such a nice comment,I don't even know how to respond. I feel like Chopper 😂
@asadm10245 ай бұрын
@ATCCAD I watched your videos and learned a lot from it , I think autocad is a sea, and we have very little knowledge about the software, Thank you very much for teaching us a great tutorial.
@inkscapepanda5 ай бұрын
This video is fantastic, but how do you avoid the error when using the ESC key? I did find some hints of using visual lisp commands, such as vl-catch-all-apply, but I'm not really sure how to implement it in this code exactly.
@ATCCAD5 ай бұрын
This requires using the * error * function - which was outside the scope of this video. I have a video planned for this topic - but this error is an easy one to deal with. Here is a way you can do it. In the main body of the program - at the top where you initialize the other variables - add the following two lines (setq tmperror * error *) ; saves the old * error * function so it can be restored after the user cancels the command (setq * error * errorfunc) ; sets the name of the new *error* function so LISP can find it Finally you'll add a new function - at the bottom would be good (defun errorfunc (errmsg) (setq * error * tmperror) ; Set the *error* function back to the old one (princ) ; Print a blank line )
@ATCCAD5 ай бұрын
(All of these error statements should have a * before and after it. KZbin comments isn't displaying it right!) * error * (without the spaces)
@inkscapepanda5 ай бұрын
@@ATCCAD Oh wow, thank you super much. You would think that this would be a simple 1 line command to stop all the errors, but I guess the Autodesk guys really like jumping through a lot of hoops. Can't wait to see that future video, have a fantastic day ^_^
@ATCCAD5 ай бұрын
@inkscapepanda Ehh, like most things in CAD, if it's flexible, then it's complicated!
@schwartzbwithu5 ай бұрын
(findfile "acad.pgp") This will spit out the location of your active PGP file. The alias editor crashed some of the older versions of AutoCAD, like 2018. Notepad++ editor is best editor.
@kristianmangieri96926 ай бұрын
one of the most clear, useful, easy to follow and well put together tutorials ive seen yet! thank you
@ATCCAD6 ай бұрын
I'm so glad you found it helpful!
@FeStratagem6 ай бұрын
This helps greatly compared to some others
@ATCCAD6 ай бұрын
I'm happy it helped you!
@btan42096 ай бұрын
Very nice job, easy to follow. Speed and voice are perfect to learn from. Thank you
@ATCCAD6 ай бұрын
Thanks!
@WhyplayGaming6 ай бұрын
Wow thank you i have not looked at the sheet metal function i will experiment. 😎
@ATCCAD29 күн бұрын
Have fun!
@WhyplayGaming6 ай бұрын
Theres one thing iv veen trying to figer out on Fusion 360. Basickly i want to be able to get measurements of 3D geometrys and find a way to convert it in 2D. The reason below should help explain what i mean. Long story short i want to be able to Cut felt with a cutting machine to fit aound my 3D prints. I xan do it with flat surfaces but cant find a way to do it with 3D shapes and cant seem to find what im after or what to ask for any advice people is this even possible? Thanks
@ATCCAD6 ай бұрын
Yes, that can be done! It's a bit complicated to explain with words, but you can use the sheet metal tools to create a folded shape, and then ask Fusion to unfold it. This unfolded pattern can then be exported as a dxf and cut out. While it's called sheet metal, any foldable material does the same thing. That seems like a good idea for a video!
@fadisoueidi41276 ай бұрын
I am loving these tutorials. I have a long way to go though... 😂
@ATCCAD6 ай бұрын
Thank you! If it makes you feel better, I've been using AutoCAD for 30 years, and I still learn new things about it!
@TheModelmaker1237 ай бұрын
The right click mouse was great. I've resisted using the direct entry because to the need to take my hand off the mouse.
@ATCCAD7 ай бұрын
Ha! Another convert (why isn't there an evil laugh emoji?) You can also use the spacebar if you're a left hand on the keyboard kind of person
@arshkang43527 ай бұрын
Thank you so much for creating this series! These are the best and most up to date videos for learning AutoLISP that I have came across. Looking forward to more videos in this series.
@ATCCAD7 ай бұрын
Than you very much! The next video in this series should be out at the end of the month (or the first week of next month)
@viniciusbraga58467 ай бұрын
Awesome ! I had some of these on my tool pallets but I always wondered how to actually make them. Thanks for sharing this
@ATCCAD7 ай бұрын
Glad it was helpful!
@swaroop_vp7 ай бұрын
Your presentation is 👌🏼 ❤
@ATCCAD7 ай бұрын
Thank you! I really appreciate that.
@TusharMhaskar8 ай бұрын
thanks
@ATCCAD8 ай бұрын
You're welcome!
@swaroop_vp9 ай бұрын
Nicely explained. Can you add these inputs (Starting number and Interval) as options to the command and use the capital letter of the option word to choose them?
@ATCCAD8 ай бұрын
Yes, that can definitely be done. That'll be in part 2!
@arturlowen87409 ай бұрын
Great video! I'm starting on LISP programming and I just found your channel. Great content. I believe you could do the same to attributes on a block, right? Maybe for a future video, it could help a lot. Or maybe you can add numbers to strings, like, it would add the text "Block Number 1", "Block Number 2"... Thank you!
@ATCCAD9 ай бұрын
Absolutely! Part two of this video will add blocks and various other options
@viniciusbraga58469 ай бұрын
Thank you so much for taking your time to make an video about this ! I would never be able to figure this out my own. Now I will share this video with my coworkers too
@ATCCAD9 ай бұрын
I'm glad it helped! Thanks for the video idea 😄
@viniciusbraga58468 ай бұрын
@@ATCCAD you’re welcome ! If you would like to hear more ideas, I could share some problems that I’m facing that I feel like it could potentially be a video for the channel. Thank you
@ATCCAD8 ай бұрын
I definitely welcome comments like that!
@amith259 ай бұрын
Auto lips Default setting explain 🤔
@ATCCAD9 ай бұрын
Default setting? What do you mean?
@amith259 ай бұрын
@@ATCCAD lips file one time app load don't again again app load
@ATCCAD9 ай бұрын
Ahh! Check out my previous video kzbin.info/www/bejne/nJm5YXqubNaIo6M
@yallappahanaji35229 ай бұрын
👍 thanku sir
@ATCCAD9 ай бұрын
You're welcome!
@MD.MILON.MIAH_9 ай бұрын
I appreciate your content
@ATCCAD9 ай бұрын
Thank you very much!
@dougfinlay75319 ай бұрын
I load all my lisp routines using a legacy menu file which luckily still works in all versions of Autocad. I have all my routines in one folder complete with toolbar bmp image files. The mnu file is also included here and that's where all the lisp routines are listed in one big menu text file. Does the trick! I load it using the CUI partial menu setup and it automatically sets up my toolbar buttons. This something I learned years ago from Afralisp.
@ATCCAD9 ай бұрын
Oh dang, kicking it old school!
@viniciusbraga58469 ай бұрын
Great video ! Thanks I would like to watch a video where I can count openings in 2D and at the same time when I click on the opening, I can leave a number there. Like, first opening a leave a 1 next to it, second one I click and leave a 2 and so on…
@ATCCAD9 ай бұрын
That's a good suggestion! Keep an eye out for it!
@ATCCAD9 ай бұрын
The answer to your question just went live! kzbin.info/www/bejne/nJm5YXqubNaIo6M
@viniciusbraga58469 ай бұрын
@@ATCCAD just watched it ! Thank you very much
@brianh8709 ай бұрын
Great video. You explain things well and with style. p.s. I use "cc" for circle...
@Ramiromasters9 ай бұрын
What if in the block pallet the Library tab says Error file not found? It's just a blank window that doesn't let you navigate, is as if one of the autocad components is not loaded...
@ATCCAD9 ай бұрын
That's a great question! You just found a bug that is in AutoCAD 2023. I wrote an article about fixing this, you can find it here! atkinstechconsulting.com/autocad-library-not-found/
@Alexp95089 ай бұрын
Do you have a video on your changing autocad to look like microstation? I have a company of 50 employees currently making the switch from microstation to civil3d, some of them have been working in MS for 30 years. I have been trying to get everyone trained up but I am a novice myself. This may be more helpful for the older employees. Thanks
@ATCCAD9 ай бұрын
I have done something similar for a client in the past. They were moving several hundred users from Microstation J to AutoCAD 200(something). So making regular AutoCAD look like regular Microstation is definitely possible. I'm not sure if the same could be done to make Civil 3D look like Inroads. The Civil 3D toolbox isn't nearly as customizable as the AutoCAD ribbon (and the workflows will still be very different). I do not have a video for this process. Mainly because it would be a 27 hour video of me doing pixel art! Out of curiosity, what version of Microstation are you trying to reproduce?
@viniciusbraga58469 ай бұрын
100% useful! Thanks for sharing this
@ATCCAD9 ай бұрын
Thank you!
@asadm102410 ай бұрын
Great 👍
@ATCCAD10 ай бұрын
Thank you 👍
@nithinbaladithyan548710 ай бұрын
Can you please make an video on layers
@ATCCAD10 ай бұрын
Sure! Anything in particular that you'd like to know about them?
@SkinzDiablo10 ай бұрын
I started working as a drafter a few months ago, and got AutoCAD at home so I could continue my career development. I was, however, confused and enraged when the "UW" and "UV" commands would not work to adjust UCS at home. I was of course even more enraged after I taught myself how aliases work for no reason. You, Sir, have quelled my rage, and made me much more productive. Thanks so much!
@ATCCAD10 ай бұрын
I'm so glad that helped you! I think you have invented my new company motto. "Quelling your CAD rage since 2016" 😂
@amith2511 ай бұрын
I want full details 👇 this video link
@ATCCAD11 ай бұрын
It'll probably be a while before I start to cover the AutoCAD add-on tool sets. But I'll put this on my list!