How ChatGPT Improved My AutoCAD Workflow FOREVER

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
project deadline is today but I'm facing difficulties with repetitive AutoCAD tasks let's explore how AI EPT chat can simplify our workflow to finish our projects on time to start I have this project which is a building section over here and I want to calculate or draw a stair right over here a staircase in this section instead of calculating the numbers and manually right which I could do by using a calculator and trying to figure it out the number of risers that I need for my staircase I'm gonna try to use a new technology called GPT chat we see which is an artificial intelligence to access GPT chat we can simply type on Google GPT chat and the first link will show up over here we can simply say try GPT chat after you sign up we will have the ability to ask questions to GPT chat right you don't need to be precise to ask the question but the more details that you share with this AI so I'm gonna simply send this question and let's see over here GPD chat is writing a auto list code and the name of our program or code would be calc risers that's very important that's what we're going to utilize inside AutoCAD it is also giving us an explanation how the code Works let's try this then let's copy the code over here by simply selecting that and let's see what can we get when we go to AutoCAD right over here again I have this section I'm gonna use the V lisp to access the visual lisp editor over here and I'm gonna simply go under file and say new file and over here I can go ahead and paste my code.gpt chat just gave us to activate this I could click this icon it says load active edit in window and finally go and say activate inside autocut and that way I can run my code what I like to do is instead of working with the visual lisp editor all the time simply go ahead and save this right first with this icon save file so again remember the name of our program is calc risers we're gonna need this to tie in the command line of AutoCAD so I'm going to save this and save it in a folder right save all right so now I can simply close this visual list now I can go and find my folder right where I just saved this program so it's right here so in order to load it in AutoCAD what you can simply do is click and drag and simply say always load right so it was called risers so let's see what we get called and it's right here called risers so we can see that GPT chat wrote this in a way that is actually asking a question so enter floor to floor height so I'm gonna type and fit let's see oops so we are seeing an error here where it says requires numeric value so that means it's not working with units right such as feed and inches so that's okay let's try 10 for now and now it's asking to enter the maximum Riser height so I'm gonna type usually 7 inches but um I don't think it will work because again I DP chat didn't add this code to work with 15 inches or with certain units so I'm sure I'm gonna get an error so for now I'm gonna type 0.1 and gender let's see what we get we're getting an error here so let's expand that with F2 right and I'm gonna simply copy the error and go back new friend GPT chat so let's go back over here and let's simply paste that error over here and let's see if somehow GPT chat can help us right 2gbt chat is my apologies the ceiling function is a little funny okay so let's try that really quick I'm gonna copy that um and I'm gonna go back to my file and I'm gonna open to my list profile right so over here what I can do is simply select everything and paste my new coat so again he's using now a different matte and ceiling so I'm going to close and say save again we can quickly drag it to our autocut so let's try it again calc racers and I have now and we are getting another error so it's now but it's a different error but I'm still gonna do the same procedure which is [Music] [Music] thank you and boom we are in the right path guys we now don't get an error but we have a result good news right so let's see number of risers needed a hundred okay so let's simply click OK here and let's inspect with F2 so now we don't get any errors which again is a step on the right direction right the result was 100 which doesn't sound right again I believe it's because of the units he's not using 15 inches which I'm using because I am in the United States my Imperials are my units in feet and inches so let's go back to GPT chat to help us with updating our code for the units right so it works with feet and inches okay we can start copying our code right copy that out to enter feet of floor to floor height so it's asking in feet so we can say 10 and now it's saying enter inches of floor to four height so that means if we have a floor to floor that it is 10 feet and 6 inches right we can type in here but we have a 10 feet exact number so I'm gonna type zero here here we go okay so enter feed of Maximum Riser height um the maximum Riser hat I mean it's not gonna be in feet so I'm gonna type zero and the inches yes it's gonna be seven inches maximum right [Music] and here we go guys come on we didn't understood GPT chat so let's go all right so let's try this Duke let's copy what GPD chat just updated [Music] and their feet of Maximum Riser head zero of course and maximum will be seven and here we go guys awesome we finally got the response that we needed the number of risers needed are 17 and the Riser height are 7.59 so now in this right these numbers we can proceed to do our stairs right so I'm gonna go here and 7.059 up and that would be 11 inches so once I have that again all I did is draw a line 7.059 inches up and then I can simply copy this right so hopefully on this point and then use the array option right from my keyboard and say enter the number I would say 17 and then I will simply click to select and I will have my staircase ready to go isn't that beautiful guys that we make a GPS work for us so we don't have to waste time trying to figure this out again if we have many projects what we need to calculate this so let's go with the next exercise which is a macros so for the second exercise I would like to ask gbd chat safe and close my drawing I mean always Zoom extends before you close your drawing right so instead of for me to just do it manually let's see if photocard I mean if GPT chat can help me create a quick macro to do all of these three steps into one single step right but wait a second GPT chart this is vvnet language I don't want to use a language I simply want a simple straightforward macro command so I'm gonna say something like don't use leave the net alright so let's keep moving guys um so I'm gonna copy and this code over here and let's go back to AutoCAD I'm gonna simply add um anything I can simply draw a rectangle really quick and add that rectangle to our tool palette so I'm going to add it over there and then by uh going to the properties I can go and say something here like Zoom extent right that would be the name for the command and over here I can change the fly out to no so that way I can go ahead and paste my macro code the GPT chat just gave us so you can see I cannot paste it directly from GPT chat but what I can do is go on the description and simply paste it like so once we do that I can cut it with Ctrl X and paste it over here now I'm able to paste it right this is like a trick a little trick that you can utilize to Simply copy a stray from GPT chat so I'm going to click OK Let's test our macro code from GPT chat right so what let's say let's click on it and what you did is edit something it did soon extends on my drawing so let's expand the the command line to see what's going on so uh so what it did is of course it Zoom extends and it also saved my drawing but it didn't close my drawing right something is not quite working here still but it's close right so let's go back to GPT chat this is a way that we kind of help GPT chat to say hey we want macro language syntax we don't want scripts we don't want lisp we don't want bvnet we can also say code didn't close my drawing so let's quickly copy that out and see if this time this macro command will work [Music] so let's try our macro code and boom so he looks like he closed the entire AutoCAD program and not just my current drawing that's not what we want so let's try to open backup AutoCAD and let's go to our GPT chat all right drawing right let's see what he have to say let's see looks like Jupiter is struggling with a more simpler macro code than a more complex lisp I mean um so let's copy this really quick [Music] all right so let's try our macro code and boom it kind of work right so it looks like it works let's open back up our drawing section one and it's Zoom Let's test it one more time let's move like that so let's see if so let's try and nice so let's open back up the drawing and it did what we asked for it Zoom extends it saved the drawing and then it closed the Korean drawing so this will be a helpful macro code to use it in every day situation right so if I open this folder let me go to open file location so right now you can see that my drawing is nice and neat it's a model space I can have a preview right but what if I have many other drawings for instance I have something over here and my command will some extent and will look something like this which again will not look professionally on a preview right so that's why close your drawing Zoom extent but on paper space right so let's try to figure that out if GPT chat can do that right drawing [Music] cream paper space right so let's see what GPT have to say so I'm gonna copy that like so so let's see what the macro does now let's click on it and let's open back up the drawing to check if indeed it will open in paper space nope it didn't it didn't close in paper space we're still in model space so again GPD chat is having a little bit of trouble with uh less complex uh codes like macros and paper space let's try that out paste it under the under the command string so let's try this out now and nope is now working as we wish guys and again we are still in model space it's not working as expected and the bad thing is that since the drawing was closed we don't have any feedback as to an error or something that we can give it to GPT chat so that's a little even a little harder right so I guess I'm gonna um stop right here trying the macro I try already to explain him that I want to close my Robin in paper space GPT chat looks like he doesn't know many system variables we created many macros there is a system variable called killer mode right so qlm mode if it's one or zero we will go and change to paper space so by doing that we can again say killing mode and say one and that will go to model Space by GPT chat kind of doesn't know maybe this system variables so but we could simply add that killing mode right instead of paper space until remote zero and I will make this macro work so let's test it and we can go back and open our drawing and we can see that indeed now the macro is of course in our drawing in paper space right for my best tips to simplify your workflow I'll see you on the video on your screen [Music]
Info
Channel: Lazy Arquitecto
Views: 49,654
Rating: undefined out of 5
Keywords: Autocad, GPTchat, artificial intelligence, chat gpt, chat gpt examples, gpt chat, how to use GPTchat with autocad
Id: 9ZKSnMFoq14
Channel Id: undefined
Length: 17min 33sec (1053 seconds)
Published: Thu Feb 16 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.