- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Let me start by saying, I am not a coder. I am a surveyor who is trying to automate linework, point insertion, and drafting. We are in C3D 2019 currently, so the newer coding languages are out for me.
I currently have a functioning LCS, DKS, and a few minor LISP routines for my field crews to check their work. My current routine runs them through the IMPORTSURVEYDATA routine and then adds lines from the LCS to the surface as breaklines and gives us a decent rough draft so they can check their work before handing it to the office staff. We are also using the same routine in the office to handle the initial import and drafting and simply deleting the surface for 2D jobs. The surface is in the template along with a point group so the LISP runs update point group and rebuild surface commands to "auto generate" the surface because if/then commands are above my skillset currently. That is okay, too. We are slow enough that I can take the time to learn how to write them from watching YouTube.
Take my current auto drafting goal that I feel is possible, and I'm pretty sure it is because my former employer had an in-house written program that originally ran over Civil 3D 2009 that could do this, so I assume the commands are all there. I would like to be able to write the following LISP routine:
- Search for points by a list of codes (say catch basins and drop inlets)
- Inverse between the two points following the catch basin insertion point (these would be on the face of the curb to define the rotation of the point marker)
- Verify that next to points have proper code of rotation shots (optional, but preferable)
- Change value of point marker rotation to match inverse (may require a simple math problem to make rotation work) between two rotation shots
- Repeat 1-4 until there are no more shots on the list
I think I can write the LISP routine, or at least a rough draft of one, and test and debug my way through most of it. However, I am overwhelmed and at a loss trying to find the perfect Google keyword search to find the LISP routine commands that I need to make it happen. I found the 2013 AutoCAD LISP command guide, but it is 298 pages and doesn't even have the VLA and VLAX commands in it, and I can't find an upgraded version to 2019.
TL;DR - I'm really struggling to find the right resource to find the proper commands to use in LISP routines to create the programs that I want to write and I need help.
Solved! Go to Solution.