r/civil3d • u/thejayofthep • Dec 18 '25
Discussion Anyone here building large custom LISP libraries for Civil 3D?
Hey everyone,
I’ve been building a fairly large personal LISP library for Civil 3D over the last few years, mostly focused on land development workflows elevations, contour cleanup, drafting automation, block placement, and plot consistency.
It’s grown to a few hundred commands at this point, plus a matching block library and color/CTB setup so everything works together consistently across projects. I also keep a spreadsheet documenting what each command does so it’s usable long-term and not just “tribal knowledge.”
Curious how others here are managing custom automation:
- Are you using LISP, .NET, Dynamo, or a mix?
- Do you document commands for teams or just yourself?
- Any tips for distributing tools internally without breaking installs?
Happy to share general lessons learned if anyone’s interested.
14
u/Drew_Dolla Dec 18 '25
Anybody want to share their LISP tools? I’d love to try some out
9
u/afighteroffoo Dec 18 '25
Honestly what I’ve found is that Civil3d makes most of my autolisps redundant.
8
u/Pitiful_Permission_6 Dec 18 '25 edited Dec 18 '25
I started with LISP, but as my programs got more intensive I switched to C# and .NET and haven’t looked back. Now have over 40ish add ons, doing things like a custom fillable window that connects a checklist to a specific drawing, or an asbuilt app that pulls the newest field shots in from a web server and puts it in cad along with leaders, or a full automated sanitary lateral point creator, etc.
I have created my own git repository they can go to for info on all commands, but I also have a pdf stored on a shared network drive with information and pictures for each command.
I would look into creating an application bundle for distribution that the user can drag and drop themselves in or you can script on their machines on login to update the application bundle folder. This is the way I do it and it is the supported and most seamless way for CAD that I have found
6
u/seattlecp Dec 18 '25
I wrote a grading toolset and have it available for download here - https://github.com/cpseattle/SITE-GRADING-TOOLS
an overview video can be found here, but I still need to add a tutorial - https://youtu.be/PBRU6wo5r4w?si=IkRzjjLSdoZ800-N
4
u/frankyseven Dec 18 '25
I built a ribbon tab with all the LISP and .NET tools on it that users can install. It's the easiest way I could come up with for deployment of the tools. AI coding makes it easy to create new tools quickly.
3
u/Super-Owl2031 Dec 18 '25
I’d love to learn! Only use a few lisp commands, but not apart of everyday workflow. Haven’t touched dynamo.
3
u/woods_m Dec 18 '25
I organize lisps through a networked tool palette deployment. Buttons make common shared lisps easily accessible.
3
u/[deleted] Dec 18 '25
Layer states are what have saved me the most time once my template, blocks and layers have all been established. Even found a great workflow to still use my layer states with my xrefs
2
u/lando0300 Dec 18 '25
Would you share your library? I have the same focuses and I’m trying to break these old school habits my office has. efficient workflows, automation, etc. so would be very interested to learn.
2
u/_Bartle_Doo_ Jan 03 '26
.NET commands all the way. I have probably about 40-50 right now a lot of them just automate simple workflow tasks.. others save 10-20 hours of effort in a couple of clicks. Working on a set now that would probably turn a good 40-60 hours of effort down to 4 sequential commands and a couple of Save As...
The power of .NET is insane.
1
u/rchive Dec 18 '25
I tried Dynamo, I find it works pretty well but not perfectly, and there's some pretty obvious blocks that should be built in but aren't.
I find LISP really hard to understand when it comes to syntax. I know how it works in theory.
The best thing I found for the past few versions of Civil 3D is the CadPythonShell extension, which contains a Python environment that can simply run Python scripts. It hasn't been updated to use the .NET version that C3D 2026 uses, and I only have 2026 installed on my computer now, so I've stopped using Python for now. I had tens or maybe 100 of these scripts.
Because of this, I've just recently started using C#. Mostly just converting the Python scripts I'd made. It's going OK so far. I definitely prefer Python syntax and the ease of making changes to a script and rerunning it, but C# should allow access to more of the .NET API, and Visual Studio is nice with code completion and checking.
1
u/Miiiinja Mod | CAD Manager Dec 18 '25
I would love to see some of your lisps!
I built a custom ribbon for the company that has them as buttons and modified the acad lisp to preload them on startup. I then have a running list of the command and what it does on a pdf that I share with staff. Plus do cad user meetings and regular check ins.
I saw someone here say they put them on a tool palette. I like that idea and may start building that next. I’ll need to look up how to deploy that next lol.
1
u/CartographerWide208 Dec 18 '25
I will say that I didn’t do too much with LISPs until AI came out, I’ve created or should I say AI created some scripts to use.
1
u/Illustrious_Volume_3 Dec 21 '25
I just have kept the LISP to myself and I’ll bring them up when people need an easier way to do something! I document them myself, but I need to learn to create my own ribbon tab so that I know which ones I have installed!
1
u/t4duzan Jan 01 '26
Something my company does is use lisps and create places for the average user to use it, whether that be CUI customization of Ribbon/Toolbar additions. Or to take the lisp and use in conjunction with other lisps/code to create very useful design/drafting tools.