Skip to main content

Simplifying TIN Surface Editing.

The Problem
Editing TIN surface information can be a pain. To make any small change, we end up going to Toolspace, then surface, the surface, definition, right click on edit, lastly select the tool we need. By the time I get to the tool, I forgot what I was doing.

clip_image002


The Fix
Use a LISP file to launch each command. This will keep you from the number of clicks it takes to edit the TIN surface.


Creating LISP File

  1. Open Notepad in windows.
  2. Save a blank text file.
  3. Copy and paste the text below.
  4. Save
  5. Right click on the file in Windows Explorer and Rename.
  6. Change the extension from .txt to .lsp


(defun c:sal ()
(command "addsurfaceline")
(princ)
)
(defun c:sdl ()
(command "deletesurfaceline")
(princ)
)
(defun c:swe ()
(command "editsurfaceswapedge")
(princ)
)
(defun c:sap ()
(command "addsurfacepoint")
(princ)
)
(defun c:sdp ()
(command "deletesurfacepoint")
(princ)
)
(defun c:sep ()
(command "editsurfacepoint")
(princ)
)
(defun c:smp ()
(command "movesurfacepoint")
(princ)
)


LISP Commands
SAL = Add Surface Line
SDL = Delete Surface Line
SWE = Swap Edge
SAP = Add Surface Point
SDP = Delete Surface Point
SEP = Edit Surface Point
SMP = Move Surface Point

Loading LISP File
Load Application command
Ribbon > Manage > Applications > Load Application or command: _appload

clip_image004

Once the Load/Unload Application pop up box shows up, follow the steps to load the LISP file.

  • A. Find location of the LISP file.
  • B. Select Load
  • C. Confirm the file was loaded
  • D. Close
  • E. If you need the file to load every time Civil 3D is opened, you can use Startup Suite to auto load the file.

clip_image006

Enjoy!

Popular posts from this blog

How to extract 2D AutoCAD geometry from an Autodesk Inventor DWG Drawing File.

An article by Paul Munford ( The CAD Setter Out ) For CAD Clues Blog.  If you regularly exchange drawing files with a Client, colleague or Contractor who is using Autodesk Inventor, then you may be interested in this simple trick for Extracting 2D geometry from an Inventor DWG file. To try this out, you will need: · An Autodesk Inventor DWG file · AutoCAD! TIP : You will need an Inventor DWG file – not an Inventor IDW file. This is Inventor’s own drawing file format and cannot be opened by AutoCAD.   Our DWG File open in Inventor. OK, how do we go about it? The process is simple. First we will open the Inventor DWG up in AutoCAD, and then we will hunt out the Information we need. The Autodesk Inventor Sheet browser – showing the Views we wish to use in AutoCAD. Inventor DWG Weirdness. Inventor DWG files open up in AutoCAD just fine. You will see that the Paper Space layout looks just like Inventor’s Sheet layout. Our DWG File open in AutoC...

AutoCAD-Editing Objects using grips and keyboard shortcuts

 

Sheet Set Manager–Part 4

Organizing Drawings using Sheet Set Manager Using fields with a sheet set Inserting a sheet set list table or drawing index  Organizing Drawings using Sheet Set Using Fields with a Sheet Set Once the sheet set is created, the ability to use fields in a drawing is available. The sheet set can give information to the drawing such as: Current Sheet Category Current Sheet Custom Current Sheet Description Current Sheet Issue Purpose Current Sheet Number Current Sheet Number and Title Current Sheet Revision Date Current Sheet Revision Number Current Sheet Set Current Sheet Custom Current Sheet Set Description Current Sheet Set Project Milestone Current Sheet Set Project Name Current Sheet Set Project Number Current Sheet Set Project Phase Current Sheet Subset Current Sheet Title Sheet Set Sheet Set Place Holder Sheet View To create a field, start with creating an mtext , right click , then to insert field . All the options above will be available under ...