Search the Community
Showing results for tags 'coding'.
Found 4 results
Teach a man to fish..... (ChatGBT / AI)
ILoveMadoka posted a topic in AutoLISP, Visual LISP & DCL"Give a man a fish you feed him for a day... Teach a man to fish and he can feed himself for the rest of his life.." I am a novice (if that) at writing code. I just found that CHATGBT (ai) can write autolisp code. ChatGBT You have to be able to verbalize what you are after using decent descriptions (which mods have to dig for when helping end users such as myself define our needs) I'll admit it misses the mark more than not but what I have found <for me> is that it gives me enough of a foundation that I can troubleshoot it myself and get a routine working... Wanted to let everyone know there is a tool that can help those of us who are "learning to walk" as it were.. Even if it's a simple as how do I do "X" in lisp... I'm hoping that like other AI sites that it will get better in time... If you know nothing, probably not going to help since you cannot troubleshoot... If you know a lot you'll see the coding errors right off and think it's a waste of time... If you know a little and are trying to learn it is a cool resource... I used it to write some Powershell code and it did a really good job. FWIW..
Autocad dwg to pdf by script with batch file help....
bmartinez posted a topic in The CUI, Hatches, Linetypes, Scripts & MacrosI need a script that will convert multiple DWG files to ONE single PDF file,I found one that does convert the dgw file but to single pdfs , im also having some issues with DWG files that are "read only" wont convert them but all my files i need to convert to pdf are READ ONLY.
Trouble with xyz coordinate import LISP
philnesterovic posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceHi all, I am using the attached lisp to import xyz (PNEZD) coordinates into Autocad 2015 with their points numbers and descriptions. The lisp works great, the only problem is that when all the points are put in, I can't change the colour and layer of the attached descriptions and elevations. The points themselves will change colour and layer, but we can't get the writing to move to those same layers. I'm not sure if this requires working on the lisp itself, or if it is something that can be fixed in a setting in Autocad, but I'm definitely stuck! Any help would be greatly appreciated. Thanks! pointsin-v1.0.13.zip
Custom Hatch Pattern Troubleshooting
dal-designs posted a topic in AutoCAD Drawing Management & OutputAfter spending waaaay too much time looking for a board and batten hatch pattern for vanilla ACAD, I found this in a Revit forum: *Board & Batten, 2.5" Batten at 16" o.c. ;%TYPE=MODEL 90, 0, 0, 16, 16, 16 90, 2.5, 0, 16, 16, 16 Doesn't work for vanilla ACAD, though. Since I don't know the first thing about LISP programming (somehow it is never as 'easy' as the people who say, "Oh, it's easy!" claim), would anyone be kind enough to help me figure out what needs to change to be a regular ol' AutoCAD .pat?